bug fix in profiles

This commit is contained in:
P.M. Sutter 2014-05-13 17:11:23 -04:00
parent c180c23a05
commit dda60f3b28

View file

@ -63,7 +63,7 @@ def buildProfile(catalog, rMin, rMax):
for void in voidsToStack:
center = void.barycenter
localPart = catalog.partData[ getBall(partTree, center, rMaxProfile) ]
localPart = catalog.partPos[ getBall(partTree, center, rMaxProfile) ]
shiftedPart = shiftPart(localPart, center, periodicLine, catalog.ranges)
dist = np.sqrt(np.sum(shiftedPart[:,:]**2, axis=1))