diff --git a/tests/test_depletion_approximation.py b/tests/test_depletion_approximation.py index 308edf22..1e119e89 100644 --- a/tests/test_depletion_approximation.py +++ b/tests/test_depletion_approximation.py @@ -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] @@ -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]