Skip to content
Snippets Groups Projects

[bugfix] avoid subscript operator on JacobianTransposed

A geometry's JacobianTransposed implementation may be any type modelling a linear mapping, i.e., implementing the mv-type methods. Some grids (e.g., SPGrid) only implement this interface for performance reasons. However, we require that a JacobianTransposed can be assigned to a FieldMatrix.

This patch fixes "checkCodim1Mapping" such that it will cast the JacobianTranposed down to a FieldMatrix before accessing the subscript operator (although the same result could be achieved using "mv").

Merge request reports

Pipeline #1749 passed

Pipeline passed for 6049077a on bugfix/avoid-subscript-operator-on-jacobiantransposed

Approval is optional

Merged by avatar (Apr 18, 2025 6:45am UTC)

Merge details

  • Changes merged into master with 56cb246b.
  • Deleted the source branch.

Pipeline #1760 passed

Pipeline passed for 56cb246b on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading