Created attachment 421 [details] Code demonstrating bug for dot product with row of a sparse matrix. Dear Eigen developers, for the test code, a compile time error is expected, while the runtime error a.out: eigen/Eigen/src/Core/util/XprHelper.h:53: Eigen::internal::variable_if_dynamic<T, Value>::variable_if_dynamic(T) [with T = int; int Value = 1]: Assertion `v == T(Value)' failed. is triggered. Moreover, what is the situation if A has row major storage? -- Best wishes! Kolja
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/743.