From 8271bd5f14ef8d19c5f7aea3a55be5108743b933 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Mon, 7 Apr 2014 11:24:27 +0300 Subject: [PATCH] fix condition in CV_OperationsTest::operations1() --- modules/core/test/test_operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/test/test_operations.cpp b/modules/core/test/test_operations.cpp index 6b36883cfe..fd14920a04 100644 --- a/modules/core/test/test_operations.cpp +++ b/modules/core/test/test_operations.cpp @@ -965,7 +965,7 @@ bool CV_OperationsTest::operations1() Vec v10dzero; for (int ii = 0; ii < 10; ++ii) { - if (!v10dzero[ii] == 0.0) + if (v10dzero[ii] != 0.0) throw test_excep(); }