Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 692
    • Issues 692
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #1398
Closed
Open
Issue created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

Compilation error when using triangular view

Submitted by Lauri Berkovits

Assigned to Nobody

Link to original bugzilla bug (#1398)
Version: 3.3 (current stable)
Operating system: Linux

Description

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.

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking