Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

I looked into the bug and reported my analysis there: http://www.code.opencv.org/issues/3381

In this case the following lines would work : Mat_<float> A; A.push_back(0.0f);//instead of A.push_back(0); A.push_back(1.0f); A.push_back(3.0f); A.push_back(4.0f); A = A.reshape(1, 2);

I am about to submit a bug-fix.

Camille