[gecode-users] Iter::SingletonAppend<J> init method

Stefano Gualandi gualandi at elet.polimi.it
Mon Sep 22 13:17:04 CEST 2008


hi,
Likely, there is micro-bug in the SingletonAppend iterator:

Index: gecode/iter/ranges-singleton-append.hpp
===================================================================
--- gecode/iter/ranges-singleton-append.hpp     (revision 7847)
+++ gecode/iter/ranges-singleton-append.hpp     (working copy)
@@ -106,6 +106,7 @@
    forceinline void
    SingletonAppend<J>::init(int i0, int i1, J& j0) {
      mi = i0; ma=i1;
+    j = j0;
    }

  }}}


cheers,
Stefano




More information about the gecode-users mailing list