diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-06-20 10:58:21 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-06-20 10:58:21 +0200 |
commit | e26742c62993892deffbd44e68f3769423330cbb (patch) | |
tree | 1ee472facfd4c9fe47979a98261973d488c6d939 /test/correctness/testxy.cc | |
parent | d7097a063ad7eca9aa3982c3c63eba91cd2271c5 (diff) |
Added additional absolute error checking when testing
Diffstat (limited to 'test/correctness/testxy.cc')
-rw-r--r-- | test/correctness/testxy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/correctness/testxy.cc b/test/correctness/testxy.cc index 49ae5d7d..b88600b7 100644 --- a/test/correctness/testxy.cc +++ b/test/correctness/testxy.cc @@ -100,7 +100,7 @@ void TestXY<T>::TestRegular(Arguments<T> &args, const std::string &name) { auto errors = size_t{0}; for (auto idn=size_t{0}; idn<n; ++idn) { auto index = idn*y_inc + y_offset; - if (!TestSimilarity(r_result[index], s_result[index], kErrorMargin)) { + if (!TestSimilarity(r_result[index], s_result[index])) { errors++; } } |