bug in Volume calculation in py/yade/pack.py line 461 (4/3)

Bug #1261415 reported by Rafael Torres
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Undecided
Unassigned

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

Revision history for this message
Anton Gladky (gladky-anton) wrote :
Changed in yade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.