Ensemble: Function: Randomize Uniform sample.

scenario-dev-pa
Pierre-Antoine 2026-08-12 15:19:12 +02:00
parent 876780a349
commit 4d4df1bde2
1 changed files with 4 additions and 1 deletions

View File

@ -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):