core: fix condition in OutputArray::create(allowTransposed=True)

This commit is contained in:
Alexander Alekhin
2019-03-05 16:25:38 +03:00
parent e36a3acbc0
commit 7366eebebb
2 changed files with 23 additions and 26 deletions
+7
View File
@@ -177,6 +177,13 @@ TEST(Core_OutputArray, FixedType)
EXPECT_EQ(2, num_defaultResult);
}
TEST(Core_OutputArrayCreate, _13772)
{
cv::Mat1d mat;
cv::OutputArray o(mat);
ASSERT_NO_THROW(o.create(3, 5, CV_64F, -1, true));
}
TEST(Core_String, find_last_of__with__empty_string)