python: disable assertion in NumpyAllocator

pull/9265/head
Alexander Alekhin 8 years ago
parent 15a6586062
commit 46f05f2db6
  1. 2
      modules/python/src2/cv2.cpp

@ -149,7 +149,7 @@ public:
{
if( data != 0 )
{
CV_Error(Error::StsAssert, "The data should normally be NULL!");
// issue #6969: CV_Error(Error::StsAssert, "The data should normally be NULL!");
// probably this is safe to do in such extreme case
return stdAllocator->allocate(dims0, sizes, type, data, step, flags, usageFlags);
}

Loading…
Cancel
Save