diff options
Diffstat (limited to 'libs/cassowary/ClBug1.cc')
-rw-r--r-- | libs/cassowary/ClBug1.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libs/cassowary/ClBug1.cc b/libs/cassowary/ClBug1.cc deleted file mode 100644 index e7543757e3..0000000000 --- a/libs/cassowary/ClBug1.cc +++ /dev/null @@ -1,21 +0,0 @@ -#include <cassowary/Cl.h> - -int main() -{ - ClVariable *var = new ClVariable(); - ClSimplexSolver *solver = new ClSimplexSolver(); - ClStayConstraint *stcn = new ClStayConstraint(*var,ClsWeak(),1.0); - - cout << *solver; - solver->AddConstraint(*stcn); - cout << *solver; - solver->RemoveConstraint(*stcn); - cout << *solver; -} -/* -The result is a segmentation fault when the constraint is removed. I -don't understand why. - -Anthony Beurive'" <beurive@labri.u-bordeaux.fr> -*/ - |