Commit 5a5a4876 authored by Camille's avatar Camille

bug fix 3381

parent 46775ad1
......@@ -684,7 +684,7 @@ template<typename _Tp> inline void Mat::push_back(const _Tp& elem)
{
if( !data )
{
CV_Assert((type()==0) || (DataType<_Tp>::type == type()));
CV_Assert((type()==0) || (DataType<_Tp>::type == type()));
*this = Mat(1, 1, DataType<_Tp>::type, (void*)&elem).clone();
return;
......
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