[eigen] Sums

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi

In my code, the following gets executed:

VectorXf grad_sum = kern2.rowwise().sum();

After executing, I noticed that the m_rows member is set to something really high, but kern2 is a 3xN Matrix, so the result should be a Vector of dimension 3
Is this intended or a bug?

Thanks
Benjamin

---


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/