not needed

This commit is contained in:
Martin Diehl 2021-06-29 10:44:13 +02:00
parent 4dcd249bf3
commit 9dca7d8055
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ class Grid:
coords = grid_filters.coordinates0_point(cells,size).reshape(-1,3)
pool = mp.Pool(int(os.environ.get('OMP_NUM_THREADS',4)))
result = pool.map_async(partial(Grid._find_closest_seed,seeds_p,weights_p), [coord for coord in coords])
result = pool.map_async(partial(Grid._find_closest_seed,seeds_p,weights_p), coords)
pool.close()
pool.join()
material_ = np.array(result.get())