Skip to content

Commit

Permalink
muller: pass seed to function to remove flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Jul 5, 2024
1 parent 2717a2d commit bd03884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytential/muller.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def f_deflated(z: T) -> T:
# Truncates the zero arrays created above if necessary.
for i in range(n):
miter = 0
roots0, niter0 = muller(f_deflated, maxiter=maxiter, tol=eps)
roots0, niter0 = muller(f_deflated, maxiter=maxiter, tol=eps, z_start=z_start)
roots.append(roots0)
niter.append(niter0)

Expand Down

0 comments on commit bd03884

Please sign in to comment.