Question #194918 on Yade changed:
https://answers.launchpad.net/yade/+question/194918

Chareyre proposed the following answer:
More seriously: the problem with testing such trivial thing is that it would be 
tested for all bodies at each iteration. It would clearly represent a waste of 
cpu time.
Asserts are good for that, you could add one (if it's not already there). Then 
you have to run the debug mode to get the tests and warnings. In optimized 
build there are disabled, hence no waste of cpu.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to