Skip to content

Commit 13b4f19

Browse files
committed
DistanceConstraint allow Int32
1 parent b0f3ebb commit 13b4f19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/constraints/constraints.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export
99
1010
Constraint between two atoms that maintains a fixed distance between the two atoms.
1111
"""
12-
struct DistanceConstraint{D}
13-
i::Int
14-
j::Int
12+
struct DistanceConstraint{D, I}
13+
i::I
14+
j::I
1515
dist::D
1616
end
1717

0 commit comments

Comments
 (0)