From 6b0d0f5c61e2cd769eba5bb5229b5ae1e00f7b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com> Date: Wed, 4 Nov 2020 09:30:00 +0100 Subject: [PATCH] Re-plugged verbose output for CG tests It is just an artifact to fix small (irrelevant) coverage issues --- tests/test_CG.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_CG.cpp b/tests/test_CG.cpp index 2ce9febb0..75ab83063 100644 --- a/tests/test_CG.cpp +++ b/tests/test_CG.cpp @@ -45,7 +45,7 @@ TEST_CASE("CG", "[algebra]") Vector<double> x{5}; x = 0; - CG{A, x, b, 1e-12, 10}; + CG{A, x, b, 1e-12, 10, true}; Vector error = x - x_exact; REQUIRE(std::sqrt((error, error)) < 1E-10 * std::sqrt((x, x))); } @@ -62,7 +62,7 @@ TEST_CASE("CG", "[algebra]") Vector<double> x{5}; x = 0; - CG{A, x, b, 1e-12, 10, false}; + CG{A, x, b, 1e-12, 10}; REQUIRE(std::sqrt((x, x)) == 0); } -- GitLab