Skip to content
Snippets Groups Projects

[bugfix] calculation of numTopologies was wrong for dim<0

Merged Christian Engwer requested to merge fix-negative-dim into master

as the reference elements are used in generic code, the situation can happen, that one tries to access a reference-element of dim-1 (i.e. faces) for a 0d object. This would result in a reference-element for dim=-1, which has no topolgies. We fix this explicitly by checking the dim>=0.

Merge request reports

Loading
Loading

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