From b122f7326b8d88c3093ceb2aee781c1e3b2ba606 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 10 Apr 2012 21:28:53 +0000 Subject: [PATCH] fixed Core_Array.expressions test --- 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 8528fc3..3917e5f 100644 --- a/modules/core/test/test_operations.cpp +++ b/modules/core/test/test_operations.cpp @@ -630,7 +630,7 @@ bool CV_OperationsTest::TestTemplateMat() Mat_ matFromData(1, 4, uchar_data); const Mat_ mat2 = matFromData.clone(); - CHECK_DIFF(matFromData, eye.reshape(1)); + CHECK_DIFF(matFromData, eye.reshape(1, 1)); if (matFromData(Point(0,0)) != uchar_data[0])throw test_excep(); if (mat2(Point(0,0)) != uchar_data[0]) throw test_excep(); -- 2.7.4