[MMTK] Bug in MMTK.Universe.largestDistance()?

Andreas Kring akring1729 at gmail.com
Fri Jan 4 12:11:19 UTC 2008


I think there is a bug in MMTK.Universe.largestDistance(). An example of 
the error can be seen in the script below.

Kind regards

from MMTK import *
from numpy import sqrt

L = 30

universe = CubicPeriodicUniverse(L)

print 'universe.largestDistance() = ',universe.largestDistance()
print 'Correct largest distance = sqrt(3)*L = ',sqrt(3)*L

More information about the mmtk mailing list