Skip to content

Commit

Permalink
Merge pull request #137 from LilithHafner/patch-3
Browse files Browse the repository at this point in the history
Fix typo in README.md
  • Loading branch information
ChrisRackauckas authored Feb 21, 2024
2 parents ca30656 + 1439b3f commit efe59c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,10 +531,10 @@ initial conditions and parameters:
```py
import random
def prob_func(prob,i,rep):
de.remake(prob,u0=[random.uniform(0, 1)*u0[i] for i in range(0,3)],
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 efe59c9

Please sign in to comment.