Merge pull request #4094 from kashefy:Mat_push_back_MatExpr_bug_4340

This commit is contained in:
Vadim Pisarevsky
2015-07-01 09:09:51 +00:00
2 changed files with 52 additions and 0 deletions

View File

@@ -1096,6 +1096,12 @@ void Mat::push_back(const Mat_<_Tp>& m)
push_back((const Mat&)m);
}
template<> inline
void Mat::push_back(const MatExpr& expr)
{
push_back(static_cast<Mat>(expr));
}
///////////////////////////// MatSize ////////////////////////////
inline