mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge branch '4.x' into '5.x'
This commit is contained in:
@@ -28,7 +28,7 @@ static void* cv_UMat_context()
|
||||
static Mat cv_UMat_get(const UMat* _self)
|
||||
{
|
||||
Mat m;
|
||||
m.allocator = &g_numpyAllocator;
|
||||
m.allocator = &GetNumpyAllocator();
|
||||
_self->copyTo(m);
|
||||
return m;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user