You can't use IntVarArgs, it is as simple as that. Please see all examples in MPG.
Christian -- Christian Schulte, Professor of Computer Science, KTH, www.ict.kth.se/~cschulte/ -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Amina Kemmar Sent: Tuesday, June 24, 2014 1:45 PM To: users@gecode.org Subject: [gecode-users] Using IntVarArgs in a propagate function Hi everybody, I create a class which inherit from Propagator, containing the member "IntVarArgs x" instead of "ViewArray<IntView> x", In the propagate function, I must use a posting function which accept "IntVarArgs" instead of "ViewArray". How can I update "x" (during copying) in order to use it in the propagate function? Thanks. --- Amina _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users