← Back to team overview

yade-dev team mailing list archive

Re: If-condition, [Bruno]

 

Hi Anton,

What?
Yes, I check if cell->info().Pcondition is true.
It is a bool. Does it give a warning to type "if(bool)"?!

The same syntax with the same variable is used in plenty of places.


Cheers
Bruno


On 17/11/14 17:18, Anton Gladky wrote:
> Hi Bruno,
>
> could you please check the following commit [1]?
> Do you check, whether cell->info().Pcondition is true?
>
> [1] https://github.com/yade/trunk/commit/c11ff65e90d20a7b5d5be1c4a78f6bb1aac9039a
>
> Thanks
>
> Anton
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 
_______________
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
________________



Follow ups

References