This bugzilla service is closed. All entries have been migrated to
Bug 1398 - Compilation error when using triangular view
Summary: Compilation error when using triangular view
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - expression templates (show other bugs)
Version: 3.3 (current stable)
Hardware: x86 - 64-bit Linux
: Normal Compilation Problem
Assignee: Nobody
Depends on:
Reported: 2017-03-02 08:25 UTC by Lauri Berkovits
Modified: 2019-12-04 16:51 UTC (History)
3 users (show)


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:

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