summaryrefslogtreecommitdiffhomepage
path: root/test/math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/math.cpp')
-rw-r--r--test/math.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/math.cpp b/test/math.cpp
index 6535e998..9befad18 100644
--- a/test/math.cpp
+++ b/test/math.cpp
@@ -20,9 +20,9 @@ bool test_sqrt()
constexpr auto eps = F(1e-11);
constexpr auto test = [](double x)
{
- auto x_ = (F)x;
- auto y1 = Math::sqrt(x_);
- auto y2 = std::sqrt(x_);
+ auto xʹ = (F)x;
+ auto y1 = Math::sqrt(xʹ);
+ auto y2 = std::sqrt(xʹ);
return Math::abs(y1 - y2) < eps;
};