Little bug

This commit is contained in:
rstiskalek 2023-09-04 14:27:14 +01:00
parent 9ae93bed14
commit f135a69b40

View file

@ -119,7 +119,7 @@ def evaluate_field(field, pos, nrand, smooth_scales=None, seed=42,
continue
for j in range(nrand):
gen = numpy.random.default_rng(seed)
gen = numpy.random.default_rng(seed + j)
pos_rand = numpy.vstack([
gen.permutation(pos[:, 0]),
gen.uniform(0, 360, nsample),