This bugzilla service is closed. All entries have been migrated to

Bug 1398

Summary: Compilation error when using triangular view
Product: Eigen Reporter: Lauri Berkovits <lauriberkovits>
Component: Core - expression templatesAssignee: Nobody <eigen.nobody>
Status: NEW ---    
Severity: Compilation Problem CC: chtz, gael.guennebaud, jacob.benoit.1
Priority: Normal    
Version: 3.3 (current stable)   
Hardware: x86 - 64-bit   
OS: Linux   

Description Lauri Berkovits 2017-03-02 08:25:09 UTC
I tried to change my old Eigen 3.2.x into latest stable release 3.3.3. 
This code

    const float c = 1.234;
    MatrixXcf C  =  c*MatrixXcf::Ones(5,5).triangularView<Lower>();

leads to compilation errors ("no match for operator*, template argument deduction/substitution failed etc.."). This can be easily worked around:

    // this is OK:
    MatrixXcf A  = MatrixXcf::Ones(5,5).triangularView<Lower>();
    MatrixXcf C  = c * A;

so I am not sure if this is bug or intented behavior.
Comment 1 Nobody 2019-12-04 16:51:24 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: