aboutsummaryrefslogtreecommitdiff
path: root/tests/validation_new/Validation.h
diff options
context:
space:
mode:
authorJohn Richardson <john.richardson@arm.com>2017-08-24 12:03:42 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit338b19559cf3f010d144687b2704777e12674c74 (patch)
tree01333de836a2fe6d6ac8f5b8624f99a220d03d67 /tests/validation_new/Validation.h
parentd59e5b0f8b7e06517017fb9b3bd1aeb8116b1794 (diff)
downloadComputeLibrary-338b19559cf3f010d144687b2704777e12674c74.tar.gz
COMPMID-502: Move MeanStdDev to new validation
Change-Id: I838dfccccaf65db7b9dc38cec20950e48445e474 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85358 Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation_new/Validation.h')
-rw-r--r--tests/validation_new/Validation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation_new/Validation.h b/tests/validation_new/Validation.h
index 2892fb3e42..d3c3541982 100644
--- a/tests/validation_new/Validation.h
+++ b/tests/validation_new/Validation.h
@@ -232,7 +232,7 @@ struct compare<AbsoluteTolerance<U>, U> : public compare_base<AbsoluteTolerance<
{
using compare_base<AbsoluteTolerance<U>>::compare_base;
- operator bool()
+ operator bool() const
{
if(!std::isfinite(this->_target) || !std::isfinite(this->_reference))
{
@@ -252,7 +252,7 @@ struct compare<RelativeTolerance, U> : public compare_base<RelativeTolerance>
{
using compare_base<RelativeTolerance>::compare_base;
- operator bool()
+ operator bool() const
{
if(!std::isfinite(_target) || !std::isfinite(_reference))
{