From: Bruno Turcksin Date: Tue, 3 Dec 2024 15:06:59 +0000 (-0500) Subject: Fix typos X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17904%2Fhead;p=dealii.git Fix typos --- diff --git a/source/base/polynomials_piecewise.cc b/source/base/polynomials_piecewise.cc index 67e96a0fab..a300659aaa 100644 --- a/source/base/polynomials_piecewise.cc +++ b/source/base/polynomials_piecewise.cc @@ -139,9 +139,9 @@ namespace Polynomials else { const double offset = step * interval; - // ROCm 5.7 throw a floating point exception in debug when trying to - // evaluate (x < offset && x > offset + step). Separating the - // conditions fixes the issue. + // ROCm 5.7 throws a floating point exception in debug mode when + // trying to evaluate (x < offset && x > offset + step). Separating + // the conditions fixes the issue. if (x < offset) { for (unsigned int k = 0; k <= n_derivatives; ++k) diff --git a/source/grid/grid_out.cc b/source/grid/grid_out.cc index 3e5d34603e..6ade6e4ba3 100644 --- a/source/grid/grid_out.cc +++ b/source/grid/grid_out.cc @@ -2140,7 +2140,7 @@ GridOut::write_svg(const Triangulation<2, 2> &tria, std::ostream &out) const if (n != 1) { - // The assert is a workaround a compiler bug in ROCm 5.7 which + // The assert is a workaround for a compiler bug in ROCm 5.7 which // evaluated index/(n-1) when n == 1 in debug mode. When adding // the assert the ratio is not evaluated. Assert((n - 1.) != 0., ExcInvalidState());