Commit f09ae327 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed Mat::isContinuous for big matrix (thanks to Boris Mansencal) #2103

parent 15e50420
......@@ -151,7 +151,7 @@ static void updateContinuityFlag(Mat& m)
}
int64 t = (int64)m.step[0]*m.size[0];
if( j <= i && t == (int)t )
if( j <= i && t == (size_t)t )
m.flags |= Mat::CONTINUOUS_FLAG;
else
m.flags &= ~Mat::CONTINUOUS_FLAG;
......
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