Skip to content
Snippets Groups Projects
Commit 6b0d0f5c authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Re-plugged verbose output for CG tests

It is just an artifact to fix small (irrelevant) coverage issues
parent 349b0724
No related branches found
No related tags found
1 merge request!64Feature/algebra coverage
...@@ -45,7 +45,7 @@ TEST_CASE("CG", "[algebra]") ...@@ -45,7 +45,7 @@ TEST_CASE("CG", "[algebra]")
Vector<double> x{5}; Vector<double> x{5};
x = 0; x = 0;
CG{A, x, b, 1e-12, 10}; CG{A, x, b, 1e-12, 10, true};
Vector error = x - x_exact; Vector error = x - x_exact;
REQUIRE(std::sqrt((error, error)) < 1E-10 * std::sqrt((x, x))); REQUIRE(std::sqrt((error, error)) < 1E-10 * std::sqrt((x, x)));
} }
...@@ -62,7 +62,7 @@ TEST_CASE("CG", "[algebra]") ...@@ -62,7 +62,7 @@ TEST_CASE("CG", "[algebra]")
Vector<double> x{5}; Vector<double> x{5};
x = 0; x = 0;
CG{A, x, b, 1e-12, 10, false}; CG{A, x, b, 1e-12, 10};
REQUIRE(std::sqrt((x, x)) == 0); REQUIRE(std::sqrt((x, x)) == 0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment