Disable checking of DOUBHEAD[1] with compareECL

This commit is contained in:
Torbjørn Skille 2020-02-07 12:41:14 +01:00
parent b57a4a39a3
commit bfca7c9fe8

View File

@ -817,6 +817,12 @@ void ECLRegressionTest::results_rst()
} else if (arrayType1[i] == DOUB) {
auto vect1 = rst1.getRst<double>(keywords1[i], seqn, 0);
auto vect2 = rst2.getRst<double>(keywords2[ind2], seqn, 0);
// hack in order to not test doubhead[1], dependent on simulation results
// All ohter items in DOUBHEAD are tested with strict tolerances
if (keywords1[i]=="DOUBHEAD"){
vect2[1] = vect1[1];
}
compareFloatingPointVectors(vect1, vect2, keywords1[i], reference);
} else if (arrayType1[i] == LOGI) {
auto vect1 = rst1.getRst<bool>(keywords1[i], seqn, 0);