This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 743 - No compile-time error for A.row(1).dot(x) for sparse matrix A
Summary: No compile-time error for A.row(1).dot(x) for sparse matrix A
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Sparse (show other bugs)
Version: 3.2
Hardware: All All
: Normal Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 11:11 UTC by Kolja Brix
Modified: 2019-12-04 13:00 UTC (History)
0 users



Attachments
Code demonstrating bug for dot product with row of a sparse matrix. (353 bytes, text/x-c++src)
2014-02-13 11:11 UTC, Kolja Brix
no flags Details

Description Kolja Brix 2014-02-13 11:11:16 UTC
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
Comment 1 Nobody 2019-12-04 13:00:41 UTC
-- 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.

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