This bugzilla service is closed. All entries have been migrated to
Bug 633 - Sparse/Dense Matrix/Vector product behaves incorrectly.
Summary: Sparse/Dense Matrix/Vector product behaves incorrectly.
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - matrix products (show other bugs)
Version: unspecified
Hardware: All All
: Normal Unknown
Assignee: Nobody
Depends on:
Reported: 2013-07-23 08:16 UTC by Thomas Moulard
Modified: 2019-12-04 12:30 UTC (History)
0 users

repro code (2.52 KB, application/octet-stream)
2013-07-23 08:16 UTC, Thomas Moulard
no flags Details

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:

Note You need to log in before you can comment on or make changes to this bug.