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

Summary: No compile-time error for A.row(1).dot(x) for sparse matrix A
Product: Eigen Reporter: Kolja Brix <brix>
Component: SparseAssignee: Nobody <eigen.nobody>
Status: NEW ---    
Severity: Unknown    
Priority: Normal    
Version: 3.2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Code demonstrating bug for dot product with row of a sparse matrix. none

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