diff --git a/stdlib/Pkg3/src/GraphType.jl b/stdlib/Pkg3/src/GraphType.jl index 4d069c80d40411..c207f0cad1935a 100644 --- a/stdlib/Pkg3/src/GraphType.jl +++ b/stdlib/Pkg3/src/GraphType.jl @@ -519,7 +519,7 @@ function check_consistency(graph::Graph) for p0 in fix_inds @assert 1 ≤ p0 ≤ np @assert !gconstr[p0][end] - @assert count(gconstr[p0]) == 1 + @assert count(gconstr[p0]) ≤ 1 # note: the 0 case should be handled by check_constraints end for (p,eq_cl) in eq_classes, (rvn,rvs) in eq_cl