diff options
author | asuonpaa <34128694+asuonpaa@users.noreply.github.com> | 2019-09-30 16:58:07 +0300 |
---|---|---|
committer | dan sinclair <dsinclair@google.com> | 2019-09-30 09:58:07 -0400 |
commit | 3624da9a117643a3d6cb12f80838f668f763c89e (patch) | |
tree | 4e86c0949bfcaca204ec1b8d8ecc9c46f5029007 /src/buffer.cc | |
parent | d65b37551cc61bbc489064e22db2d1faa319c298 (diff) | |
download | amber-3624da9a117643a3d6cb12f80838f668f763c89e.tar.gz |
Added standalone tool for doing image comparison. (#673)
Currently only root mean square error comparison is supported. More comparison algorithms will follow as requested in #620.
Diffstat (limited to 'src/buffer.cc')
-rw-r--r-- | src/buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index 18e5c4e..695d9d4 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -192,7 +192,7 @@ Result Buffer::CompareRMSE(Buffer* buffer, float tolerance) const { double rmse = std::sqrt(sum); if (rmse > static_cast<double>(tolerance)) { return Result("Root Mean Square Error of " + std::to_string(rmse) + - " is greater then tolerance of " + std::to_string(tolerance)); + " is greater than tolerance of " + std::to_string(tolerance)); } return {}; |