1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fix _OutputArray::assign() for _OutputArrays of type MATX when data types differ

This commit is contained in:
Nicu Știurcă
2015-01-20 23:44:03 -05:00
parent e97d18ba81
commit 7a3ca99894
2 changed files with 105 additions and 1 deletions
+1 -1
View File
@@ -2668,7 +2668,7 @@ void _OutputArray::assign(const Mat& m) const
}
else if (k == MATX)
{
getMat() = m;
m.copyTo(getMat());
}
else
{