1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #16656 from alalek:issue_16655

This commit is contained in:
Alexander Alekhin
2020-02-26 12:47:46 +00:00
3 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -1257,7 +1257,7 @@ int MatExpr::type() const
if( isInitializer(*this) )
return a.type();
if( isCmp(*this) )
return CV_8U;
return CV_MAKETYPE(CV_8U, a.channels());
return op ? op->type(*this) : -1;
}