Created attachment 559 [details] Code segment demonstrating problems with Mx0 * 0xN matrix products Reading through the changelog, I was excited to see the line 'Enable Mx0 * 0xN matrix products' in version 3.2.3. I think there are still some issues however. See the attached file. The output on my machine (compiled using clang) is: Eigen version: 3.2.4 For x, y, and z I would expect a 6x1 matrix of zeros. However evaluating x = A * b results in a segfault and evaluating y = A * c results in an assertion error: Assertion failed: (lhs.cols()>0 && "you are using a non initialized matrix"), function run, file /usr/local/include/eigen3/Eigen/src/Core/products/CoeffBasedProduct.h, line 428.
Confirmed, expect that with the latest 3.2 and devel branches you do not get segfaults but either assertions or compilation failures. This is thus more a feature request.
Fixed: devel: https://bitbucket.org/eigen/eigen/commits/627e039fba68/ 3.2 : https://bitbucket.org/eigen/eigen/commits/eac2061f58b1/
Wow, that's great. Thanks for the quick response!
-- 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/986.