From dce8e13ba4a9dc01cc87980594e1075a9f08e6a6 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Mon, 5 Mar 2018 19:08:30 +0100
Subject: [PATCH] Fix wrong assert.

---
 src/graph/edge.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/graph/edge.cc b/src/graph/edge.cc
index 537fd7e..a304cb2 100644
--- a/src/graph/edge.cc
+++ b/src/graph/edge.cc
@@ -207,7 +207,7 @@ namespace hpp {
           itpdof2 = itpdof1; ++itpdof2;
           NumericalConstraintPtr_t combination;
           while (itnc2 != nc.end()) {
-            assert (*itnc1 == *itnc2);
+            assert (*itnc1 != *itnc2);
             if (   graph->isComplement (*itnc1, *itnc2, combination)
                 || graph->isComplement (*itnc2, *itnc1, combination)) {
               // Replace constraint by combination of both and remove
-- 
GitLab