← Back to team overview

yade-dev team mailing list archive

[Bug 1261415] [NEW] bug in Volume calculation in py/yade/pack.py line 461 (4/3)

 

Public bug reported:

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

** Affects: yade
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References