Hi Malcolm, the attempt to use a not finalized tuple set raises an exception in 3.0.0. The attempt to finalize an empty tuple set will also throw an exception but most likely only in 3.0.1 and not 3.0.0.
Cheers Christian -- Christian Schulte, www.ict.kth.se/~cschulte/ -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Malcolm Ryan Sent: Monday, March 09, 2009 8:18 AM To: gecode list Subject: [gecode-users] Finalizing TupleSets The following code causes a crash in Gecode 2.2.0: TupleSet tuples; tuples.finalize(); It seems that finalising an empty TupleSet is not allowed. Curiously enough, there doesn't seem to be anything stopping you from using an unfinalised TupleSet as a constraint. Malcolm _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users