From 4f3f78f4c52dd3cbbf62d5d5ef6dda50e89cb593 Mon Sep 17 00:00:00 2001 From: Peter Hill Date: Mon, 18 May 2020 10:06:17 +0100 Subject: [PATCH] Use `std::abs` to get correct overload --- tests/integrated/test-cyclic/test_cyclic.cxx | 2 +- tests/integrated/test-invpar/test_invpar.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integrated/test-cyclic/test_cyclic.cxx b/tests/integrated/test-cyclic/test_cyclic.cxx index abacf115a7..f90147d900 100644 --- a/tests/integrated/test-cyclic/test_cyclic.cxx +++ b/tests/integrated/test-cyclic/test_cyclic.cxx @@ -98,7 +98,7 @@ int main(int argc, char **argv) { for(int i=0;i tol) + if (std::abs(input(2, y, z) - deriv(2, y, z)) > tol) passed = 0; } }