mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
python: properly handle step for multichannel case
This commit is contained in:
@@ -463,7 +463,7 @@ Mat::Mat(Size _sz, int _type, void* _data, size_t _step)
|
||||
}
|
||||
else
|
||||
{
|
||||
CV_Assert(_step >= minstep);
|
||||
CV_CheckGE(_step, minstep, "");
|
||||
|
||||
if (_step % esz1 != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user