From: Daniel Arndt Date: Sun, 3 May 2020 14:58:33 +0000 (-0400) Subject: Avoid using fabs for std::complex X-Git-Tag: v9.2.0-rc1~135^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef22f63d0131e01d152b777d16420327df14cb0;p=dealii.git Avoid using fabs for std::complex --- diff --git a/tests/umfpack/umfpack_09_complex.cc b/tests/umfpack/umfpack_09_complex.cc index d7ed8028f2..1326b7fbc9 100644 --- a/tests/umfpack/umfpack_09_complex.cc +++ b/tests/umfpack/umfpack_09_complex.cc @@ -141,7 +141,7 @@ test() 1 + i + i * (j + 1) * (j + 1)); // imaginary part solution(j) *= - 1. * (j + j * (i + 1) * (i + 1)) / std::fabs(solution(j)); + 1. * (j + j * (i + 1) * (i + 1)) / std::abs(solution(j)); } // Then choose as rhs for the linear system the vector