Registered Member
|
with variables defined as class members as follows
in my code I am calling
Which compile-error dies as
Even if I get the row back const it should be OK because it is not modified. Thoughts? This seems like I've made a simple error somewhere. I've just tried this on Eigen/default 5297. |
Moderator
|
edit: actually adding a row vector with a column vector is not allowed, so you have to transpose one:
m_columnSums += m_systemMatrix.row(0).transpose().array(); |
Registered Member
|
Is this a little pedantic or would this behavior actually protect someone? For two vectors, being able to omit the transpose seems like a nice 'beautification' feature. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]