Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 653
    • Issues 653
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • 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
  • libeigen
  • eigeneigen
  • Issues
  • #2267
Closed
Open
Created Jun 10, 2021 by Steve Bronder@SteveBronderContributor0 of 1 task completed0/1 task

[3.4 bug] FixedInt<0> error with gcc 4.9.3

Summary

A matrix multiplication using Eigen 3.4 with gcc 4.9.3 leads to a compiler error within GeneralBlockPanelKernel.h

https://godbolt.org/z/ffWsM8jPa

Environment

godbolt

Minimal Example

#include <Eigen/Dense>

int main() {
    Eigen::MatrixXd A = Eigen::MatrixXd::Random(2, 2);
    Eigen::MatrixXd B = Eigen::MatrixXd::Random(2, 2);
    Eigen::MatrixXd C = A * B;

    return 0;
}

Steps to reproduce

See godbolt link above

What is the current bug behavior?

Fails to compile due to

GeneralBlockPanelKernel.h:394:17: note:   no known conversion for argument 1 from 'Eigen::internal::FixedInt<0>()' to 'const Eigen::internal::FixedInt<0>&'

What is the expected correct behavior?

Code compiles

Warning Messages

see godbolt

  • Have a plan to fix this issue.
    • I haven't looked into a solution yet, but this seems to be related to #2230 (closed) and variable templates.
Assignee
Assign to
Time tracking