From 7cd21246afdce23f2f9707ddf82c8d5c8cae748c Mon Sep 17 00:00:00 2001 From: KronosTheLate <61620837+KronosTheLate@users.noreply.github.com> Date: Thu, 10 Mar 2022 13:35:22 +0100 Subject: [PATCH 1/2] Fix string concatenation error --- src/falsi.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/falsi.jl b/src/falsi.jl index e93291de8..2700bdbe9 100644 --- a/src/falsi.jl +++ b/src/falsi.jl @@ -14,7 +14,7 @@ function perform_step(solver, alg::Falsi, cache) 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 = (fr * left - fl * right) / (fr - fl) From d1cac9bfce0c3a04f8b98c153eb68c557a3d6ae3 Mon Sep 17 00:00:00 2001 From: KronosTheLate <61620837+KronosTheLate@users.noreply.github.com> Date: Thu, 10 Mar 2022 13:35:47 +0100 Subject: [PATCH 2/2] Update bisection.jl --- src/bisection.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bisection.jl b/src/bisection.jl index 940eaeb7b..c00ed19c2 100644 --- a/src/bisection.jl +++ b/src/bisection.jl @@ -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