From 9f52a01c5a908dcacbfdbaa218400b43b036ffe8 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sun, 9 Sep 2012 21:42:05 +0200 Subject: better fix (bzr r11659) --- src/libvpsc/csolve_VPSC.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libvpsc/csolve_VPSC.cpp') diff --git a/src/libvpsc/csolve_VPSC.cpp b/src/libvpsc/csolve_VPSC.cpp index 4be73a19e..60e88a50b 100644 --- a/src/libvpsc/csolve_VPSC.cpp +++ b/src/libvpsc/csolve_VPSC.cpp @@ -8,6 +8,7 @@ * * Released under GNU LGPL. Read the file 'COPYING' for more information. */ +#include #include #include #include @@ -43,7 +44,7 @@ int genXConstraints(int n, boxf* bb, Variable** vs, Constraint*** cs,int transit return m; } int genYConstraints(int n, boxf* bb, Variable** vs, Constraint*** cs) { - assert(n > 0); + g_assert(n > 0); Rectangle* rs[n]; for(int i=0;i