From 2edf672e6f85658a91b7a3212c89cdb0b183008d Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Wed, 18 Dec 2024 13:19:14 -0500 Subject: [PATCH] Fix a typo in a comment --- source/base/polynomials_piecewise.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/base/polynomials_piecewise.cc b/source/base/polynomials_piecewise.cc index a300659aaa..d9dec4f610 100644 --- a/source/base/polynomials_piecewise.cc +++ b/source/base/polynomials_piecewise.cc @@ -140,7 +140,7 @@ namespace Polynomials { const double offset = step * interval; // ROCm 5.7 throws a floating point exception in debug mode when - // trying to evaluate (x < offset && x > offset + step). Separating + // trying to evaluate (x < offset || x > offset + step). Separating // the conditions fixes the issue. if (x < offset) { -- 2.39.5