Wow... Horrible bug. I read the change the wrong way after the first message. Thank you very much.
Bruno On 18/11/14 10:32, Anton Gladky wrote: > 2014-11-18 10:06 GMT+01:00 Bruno Chareyre <[email protected]>: >> Yes, I check if cell->info().Pcondition is true. >> It is a bool. Does it give a warning to type "if(bool)"?! > (cell->info().Pcondition=true) > > Here you do not check, whether cell->info().Pcondition returns true, you > assign > to cell->info().Pcondition the "true" value and check, whether this operation > returns true. You probably needed to write then: > > (cell->info().Pcondition==true) or just (cell->info().Pcondition) > > Cheers > > Anton > > > -- _______________ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP Lab. 3SR BP 53 38041 Grenoble cedex 9 Tél : +33 4 56 52 86 21 Fax : +33 4 76 82 70 43 ________________ _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

