This bugzilla service is closed. All entries have been migrated to

Bug 633

Summary: Sparse/Dense Matrix/Vector product behaves incorrectly.
Product: Eigen Reporter: Thomas Moulard <thomas.moulard>
Component: Core - matrix productsAssignee: Nobody <eigen.nobody>
Status: NEW ---    
Severity: Unknown    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Description Flags
repro code none

Description Thomas Moulard 2013-07-23 08:16:18 UTC
Created attachment 371 [details]
repro code

Dear Eigen developers,
it appeared to me that the last development version of Eigen (5488:3ae0dbb23bbb) is not evaluating sparse/dense matrix/vector multiplication correctly.

In particular, some code is failing during template instantiation (missing coeffRef) or seems to compute a bad result (i.e. product returns a null matrix where as it should not be the case).
I also attempted multiplication using the selfadjointView.

The operation I want to do is:

(sparse matrix, row-major) res = A (symmetric sparse matrix, row-major) * v (dense vector)

Could you take a look at this repro code and tell what you think about it?

Thank you very much for your time.

Please note that I tested this on Ubuntu Linux 12.04.2 (64-bits) with GCC 4.6 and the last Eigen development version (5488:3ae0dbb23bbb). This problem has been also seen on Arch Linux 64-bits, GCC 4.7.2.
Comment 1 Nobody 2019-12-04 12:30:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to'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: