1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-16 04:56:53 +01:00

WilsonMG: Make MG correctness checks abort on failing tests

This commit is contained in:
Daniel Richtmann
2018-06-11 16:50:59 +02:00
parent f32714a2d1
commit 49fdc324a0

View File

@@ -422,7 +422,7 @@ public:
if(deviation > tolerance) {
std::cout << " > " << tolerance << " -> check failed" << std::endl;
// abort();
abort();
} else {
std::cout << " < " << tolerance << " -> check passed" << std::endl;
}
@@ -444,7 +444,7 @@ public:
if(deviation > tolerance) {
std::cout << " > " << tolerance << " -> check failed" << std::endl;
// abort();
abort();
} else {
std::cout << " < " << tolerance << " -> check passed" << std::endl;
}
@@ -468,7 +468,7 @@ public:
if(deviation > tolerance) {
std::cout << " > " << tolerance << " -> check failed" << std::endl;
// abort();
abort();
} else {
std::cout << " < " << tolerance << " -> check passed" << std::endl;
}
@@ -493,7 +493,7 @@ public:
if(deviation > tolerance) {
std::cout << " > " << tolerance << " -> check failed" << std::endl;
// abort();
abort();
} else {
std::cout << " < " << tolerance << " -> check passed" << std::endl;
}
@@ -515,7 +515,7 @@ public:
if(deviation > tolerance) {
std::cout << " > " << tolerance << " -> check failed" << std::endl;
// abort();
abort();
} else {
std::cout << " < " << tolerance << " -> check passed" << std::endl;
}