]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a typo in a comment 17944/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 18 Dec 2024 18:19:14 +0000 (13:19 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 18 Dec 2024 18:19:14 +0000 (13:19 -0500)
source/base/polynomials_piecewise.cc

index a300659aaa19e4e5fd2bd3cabea0ea934bb0e8f5..d9dec4f610d235f7f0f2ffbc977bc5e9812e25d0 100644 (file)
@@ -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)
               {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.