# HG changeset patch
# User ludal@logilab.fr
# Date 1265894560 -3600
#      Thu Feb 11 14:22:40 2010 +0100
# Node ID 3c7b00c2f44bf24e7aaf289c92d60c465291a860
# Parent  91b38f6069caed69181ecb375644eaed8eda1df5
fix compilation of gecode module due to API changes in 3.2.0

diff --git a/gecode_solver.cpp b/gecode_solver.cpp
--- a/gecode_solver.cpp
+++ b/gecode_solver.cpp
@@ -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);