This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

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
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.