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

View File

@@ -2668,7 +2668,7 @@ void _OutputArray::assign(const Mat& m) const
}
else if (k == MATX)
{
getMat() = m;
m.copyTo(getMat());
}
else
{