yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10322
[Bug 1261415] Re: bug in Volume calculation in py/yade/pack.py line 461 (4/3)
Thanks for noting that.
Fixed in 26d7b59b.
https://github.com/yade/trunk/commit/26d7b59b24c297699638e17c52c6e11452392201
Anton
** Changed in: yade
Status: New => Fix Released
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1261415
Title:
bug in Volume calculation in py/yade/pack.py line 461 (4/3)
Status in Yet Another Dynamic Engine:
Fix Released
Bug description:
461: V=(4/3)*pi*radius**3
results in an incorrect value due to integer arithmetics.
proposed solution:
change (4/3) by (4.0/3) or similar expression.
distribution ubuntu
yade-stable-0.97.0+3326+18~raring1
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1261415/+subscriptions
References