Skip to content

Commit 6eacc41

Browse files
authored
Update test_globalmatting.cpp
1 parent 02df381 commit 6eacc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ximgproc/test/test_globalmatting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void CV_GlobalMattingTest::runModel()
3535
ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA);
3636
return;
3737
}
38-
if(img.cols!=trimap.cols || img.rows!=trimap.cols)
38+
if(img.cols!=trimap.cols || img.rows!=trimap.rows)
3939
{
4040
ts->printf(cvtest::TS::LOG,"Dimensions of trimap and the image are not the same");
4141
ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA);

0 commit comments

Comments
 (0)