simplified

This commit is contained in:
Martin Diehl 2016-07-15 14:52:48 +02:00
parent a5c746ef9d
commit c792b73b4e
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ def laguerreTessellation(undeformed, coords, weights, grains, nonperiodic = Fals
devNull,closestSeeds = myKDTree.query(undeformed)
else:
damask.util.croak('...using {} cpu{}'.format(options.cpus, 's' if options.cpus > 1 else ''))
arguments = [[arg] + [seeds,repeatweights] for arg in list(undeformed)]
arguments = [[arg,seeds,repeatweights] for arg in list(undeformed)]
if cpus > 1: # use multithreading
pool = multiprocessing.Pool(processes = cpus) # initialize workers