mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 22:08:02 +00:00
Little bug
This commit is contained in:
parent
9ae93bed14
commit
f135a69b40
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ def evaluate_field(field, pos, nrand, smooth_scales=None, seed=42,
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for j in range(nrand):
|
for j in range(nrand):
|
||||||
gen = numpy.random.default_rng(seed)
|
gen = numpy.random.default_rng(seed + j)
|
||||||
pos_rand = numpy.vstack([
|
pos_rand = numpy.vstack([
|
||||||
gen.permutation(pos[:, 0]),
|
gen.permutation(pos[:, 0]),
|
||||||
gen.uniform(0, 360, nsample),
|
gen.uniform(0, 360, nsample),
|
||||||
|
|
Loading…
Reference in a new issue