Skip to content

Commit

Permalink
Update bisection.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
KronosTheLate authored Mar 10, 2022
1 parent 7cd2124 commit d1cac9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bisection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function perform_step(solver::BracketingImmutableSolver, alg::Bisection, cache)
if cache.state == 0
fzero = zero(fl)
fl * fr > fzero && error("Bracket became non-containing in between iterations. This could mean that "
+ "input function crosses the x axis multiple times. Bisection is not the right method to solve this.")
* "input function crosses the x axis multiple times. Bisection is not the right method to solve this.")

mid = (left + right) / 2

Expand Down

0 comments on commit d1cac9b

Please sign in to comment.