Skip to content
Snippets Groups Projects
Commit dce8e13b authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix wrong assert.

parent 24ac8e14
No related branches found
No related tags found
No related merge requests found
...@@ -207,7 +207,7 @@ namespace hpp { ...@@ -207,7 +207,7 @@ namespace hpp {
itpdof2 = itpdof1; ++itpdof2; itpdof2 = itpdof1; ++itpdof2;
NumericalConstraintPtr_t combination; NumericalConstraintPtr_t combination;
while (itnc2 != nc.end()) { while (itnc2 != nc.end()) {
assert (*itnc1 == *itnc2); assert (*itnc1 != *itnc2);
if ( graph->isComplement (*itnc1, *itnc2, combination) if ( graph->isComplement (*itnc1, *itnc2, combination)
|| graph->isComplement (*itnc2, *itnc1, combination)) { || graph->isComplement (*itnc2, *itnc1, combination)) {
// Replace constraint by combination of both and remove // Replace constraint by combination of both and remove
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment