Skip to content

Commit

Permalink
Actually use an ensemble
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Feb 21, 2024
1 parent 11cc3a9 commit 1439b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def prob_func(prob,i,rep):
return de.remake(prob,u0=[random.uniform(0, 1)*u0[i] for i in range(0,3)],
p=[random.uniform(0, 1)*p[i] for i in range(0,3)])

ensembleprob = de.EnsembleProblem(fast_prob, safetycopy=False)
ensembleprob = de.EnsembleProblem(fast_prob, prob_func=prob_func, safetycopy=False)
```

Now we solve the ensemble in serial:
Expand Down

0 comments on commit 1439b3f

Please sign in to comment.