New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
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: 2014-02-13 11:11 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

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