removed debugging print statements
This commit is contained in:
parent
d4e748b654
commit
4ed56a8ba6
|
@ -88,12 +88,10 @@ def laguerreTessellation(undeformed, coords, weights, grains, nonperiodic = Fals
|
||||||
|
|
||||||
# Evaluate function
|
# Evaluate function
|
||||||
result = pool.map_async(findClosestSeed, arguments)
|
result = pool.map_async(findClosestSeed, arguments)
|
||||||
# closestSeeds = np.array(pool.map_async(findClosestSeed, arguments),'i')
|
|
||||||
pool.close()
|
pool.close()
|
||||||
pool.join()
|
pool.join()
|
||||||
|
|
||||||
closestSeeds = np.array(result.get()).flatten()
|
closestSeeds = np.array(result.get()).flatten()
|
||||||
print 'shape of result',closestSeeds.shape
|
|
||||||
|
|
||||||
return grains[closestSeeds%N]
|
return grains[closestSeeds%N]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue