fix compilation of gecode module due to API changes in 3.2.0
authorludal@logilab.fr
Thu, 11 Feb 2010 14:22:40 +0100
changeset 489 3c7b00c2f44b
parent 488 91b38f6069ca
child 490 b3493ee58f82
fix compilation of gecode module due to API changes in 3.2.0
gecode_solver.cpp
--- a/gecode_solver.cpp	Wed Feb 10 15:51:41 2010 +0100
+++ b/gecode_solver.cpp	Thu Feb 11 14:22:40 2010 +0100
@@ -365,7 +365,11 @@
 	unsigned int n_b = 0;
 	if (s->status() != SS_FAILED) {
 	    n_p = s->propagators();
+#if GE_VERSION<PM_VERSION(3,2,0)
 	    n_b = s->branchings();
+#else
+	    n_b = s->branchers();
+#endif
 	}
 #if GE_VERSION<PM_VERSION(2,0,0)
     Engine<RqlSolver> e(s);