From 09cc262e3a983c549c5f2dd55fd75ef59bf15b7c Mon Sep 17 00:00:00 2001 From: Alexander Holas <70367168+AlexHls@users.noreply.github.com> Date: Fri, 8 Sep 2023 16:38:57 +0200 Subject: [PATCH] fix typo --- singularity-eos/base/root-finding-1d/root_finding.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singularity-eos/base/root-finding-1d/root_finding.hpp b/singularity-eos/base/root-finding-1d/root_finding.hpp index 2596af2775..acc71ff4b8 100644 --- a/singularity-eos/base/root-finding-1d/root_finding.hpp +++ b/singularity-eos/base/root-finding-1d/root_finding.hpp @@ -130,7 +130,7 @@ PORTABLE_INLINE_FUNCTION bool set_bracket(const T &f, Real &a, const Real guess, yb = yg; } else { a = guess; - ya = guess; + ya = yg; b = x; yb = yx; }