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
    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 683
    • Issues 683
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #1730
Closed
Open
Issue created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

Inconsistent behaviour when multiplying CWiseUnaryViews

Submitted by Andrew Johnson

Assigned to Nobody

Link to original bugzilla bug (#1730)
Version: 3.3 (current stable)

Description

Initially discussed on SO here

Compilation errors occur when attempting to multiplying two CWiseUnaryViews together, but only under particular constructions.

Given a view that simply returns the same matrix, the compilation fails with an error about coefReff : https://godbolt.org/z/JYQb3d

Given a view that returns the double from a struct nested in another struct, the compilation fails unless the intermediary struct also contains a double: https://godbolt.org/z/7nvhqx

However, this intermediary double isn't required if the nested value to be returned is a float: https://godbolt.org/z/GJUZ41

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