Skip to content

Commit a256416

Browse files
committed
missing some subtype thingies
1 parent 7c2cc9f commit a256416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/constraints/constraints.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ end
273273

274274
function build_clusters(
275275
n_atoms::Integer,
276-
dist_constraints::AbstractVector{DistanceConstraint{D}},
277-
angle_constraints::AbstractVector{AngleConstraint{D}}
276+
dist_constraints::AbstractVector{<:DistanceConstraint{D}},
277+
angle_constraints::AbstractVector{<:AngleConstraint{D}}
278278
) where D
279279

280280
#! avoid mutating input, dont love this...

0 commit comments

Comments
 (0)