1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +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
No known key found for this signature in database
GPG Key ID: B33C490AF0772057

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;
}