From b1aa4a49130d4e3e8482ee77af4df9600484c742 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 24 Oct 2013 18:00:15 +0400 Subject: [PATCH] yet another attempt to fix test failures --- modules/core/src/matrix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/core/src/matrix.cpp b/modules/core/src/matrix.cpp index 2540013ac..e64bae42c 100644 --- a/modules/core/src/matrix.cpp +++ b/modules/core/src/matrix.cpp @@ -1893,6 +1893,7 @@ void _OutputArray::create(int dims, const int* sizes, int mtype, int i, } m.create(dims, sizes, mtype); + return; } CV_Error(Error::StsNotImplemented, "Unknown/unsupported array type"); @@ -1946,6 +1947,7 @@ void _OutputArray::release() const if( k == STD_VECTOR_MAT ) { ((std::vector*)obj)->clear(); + return; } CV_Error(Error::StsNotImplemented, "Unknown/unsupported array type");