Commit b1aa4a49 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

yet another attempt to fix test failures

parent e14171fd
...@@ -1893,6 +1893,7 @@ void _OutputArray::create(int dims, const int* sizes, int mtype, int i, ...@@ -1893,6 +1893,7 @@ void _OutputArray::create(int dims, const int* sizes, int mtype, int i,
} }
m.create(dims, sizes, mtype); m.create(dims, sizes, mtype);
return;
} }
CV_Error(Error::StsNotImplemented, "Unknown/unsupported array type"); CV_Error(Error::StsNotImplemented, "Unknown/unsupported array type");
...@@ -1946,6 +1947,7 @@ void _OutputArray::release() const ...@@ -1946,6 +1947,7 @@ void _OutputArray::release() const
if( k == STD_VECTOR_MAT ) if( k == STD_VECTOR_MAT )
{ {
((std::vector<Mat>*)obj)->clear(); ((std::vector<Mat>*)obj)->clear();
return;
} }
CV_Error(Error::StsNotImplemented, "Unknown/unsupported array type"); CV_Error(Error::StsNotImplemented, "Unknown/unsupported array type");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment