Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebe-p committed Apr 3, 2023
1 parent 6ad735a commit 05c50d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_depletion_approximation.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def bc(ya, yb):
guess = minority * np.ones((2, zz.size))
guess[1] = np.zeros_like(guess[0])

solution = solve_bvp(fun, bc, zz, guess)
solution = solve_bvp(fun, bc, zz, guess, max_nodes=2 * zz.shape[0])

expected = solution.y[1][-1]

Expand Down Expand Up @@ -299,7 +299,7 @@ def bc(ya, yb):
guess = minority * np.ones((2, zz.size))
guess[1] = np.zeros_like(guess[0])

solution = solve_bvp(fun, bc, zz, guess)
solution = solve_bvp(fun, bc, zz, guess, max_nodes=2 * zz.shape[0])

expected = solution.y[1][0]

Expand Down

0 comments on commit 05c50d5

Please sign in to comment.