Skip to content

GitLab

    • 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
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 651
    • Issues 651
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 27
    • Merge requests 27
  • 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
  • #879
Closed
Open
Created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

Matrix product with triangularView does not compile

Submitted by Sebastian Birk

Assigned to Nobody

Link to original bugzilla bug (#879)
Operating system: Linux

Description

Hi,

the following minimal example does not compile (neither with clang nor with gcc) with the current tip (rev 6427) of the Eigen development branch:

typedef Eigen::Matrixstd::complex<double>,Dynamic,Dynamic,RowMajor MatDense;
MatDense A, B, C;

A.triangularViewEigen::Upper() = B*C.triangularViewEigen::Upper();

I tracked the hg revision down to be 6359 that introduces the compilation error. Up to revision 6358 the above code compiled.

Clang prints several errors:

Eigen/src/Core/util/BlasUtil.h:162:52: error: no member named 'IsVectorAtCompileTime' in 'Eigen::TriangularView<Eigen::Matrix<std::complex<double>, -1, -1, 1, -1,
-1>, 2>' && ( bool(XprType::IsVectorAtCompileTime)

Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:250:65: error: no viable conversion from 'const Eigen::TriangularView<Eigen::Matrix<std::complex<double>,
-1, -1, 1, -1, -1>, 2>' to 'typename internal::add_const_on_value_type<ActualRhs>::type' (aka 'const int')
typename internal::add_const_on_value_type<ActualRhs>::type actualRhs = RhsBlasTraits::extract(prod.rhs());

Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:256:29: error: type '_ActualRhs' (aka 'int') cannot be used prior to '::' because it has no members
typename Rhs::Scalar, _ActualRhs::Flags&RowMajorBit ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate

Cheers,
Sebastian

Blocking

#1608

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