yet another attempt to fix test failures
This commit is contained in:
parent
e14171fd33
commit
b1aa4a4913
@ -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
|
|||||||
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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user