mirror of https://gitlab.com/pamhyr/pamhyr2
Ensemble: Function: Randomize Uniform sample.
parent
876780a349
commit
4d4df1bde2
|
|
@ -156,7 +156,10 @@ class Uniform(Function):
|
|||
|
||||
step = (t - b) / nb
|
||||
|
||||
return np.arange(b, t, step)
|
||||
r = np.arange(b, t, step)
|
||||
np.random.shuffle(r)
|
||||
|
||||
return r
|
||||
|
||||
|
||||
class Custom(Function):
|
||||
|
|
|
|||
Loading…
Reference in New Issue