Skip to content

Commit

Permalink
Slightly relax GraphType.check_constraints (#242)
Browse files Browse the repository at this point in the history
cf. discussion in #228
  • Loading branch information
carlobaldassi authored and KristofferC committed Apr 10, 2018
1 parent 7e86dcb commit 27c69c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Pkg3/src/GraphType.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27c69c8

Please sign in to comment.