From 4df736333d9b07bb80bd757f2f98aa74a5a581b3 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 19 Mar 2019 11:19:03 +0100 Subject: [PATCH] Fix Tpetra test for std::fabs without std::complex overload --- tests/trilinos/tpetra_vector_02.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/trilinos/tpetra_vector_02.cc b/tests/trilinos/tpetra_vector_02.cc index ff5bfc4f16..105e435c86 100644 --- a/tests/trilinos/tpetra_vector_02.cc +++ b/tests/trilinos/tpetra_vector_02.cc @@ -196,7 +196,7 @@ test() AssertThrow(b.l1_norm() == 95., ExcMessage("Problem in l1_norm.")); const double eps = 1e-6; - AssertThrow(std::fabs(b.l2_norm() - Number(31.3847096)) < eps, + AssertThrow(std::fabs(b.l2_norm() - 31.3847096) < eps, ExcMessage("Problem in l2_norm")); AssertThrow(b.linfty_norm() == 14., ExcMessage("Problem in linfty_norm.")); -- 2.39.5