Skip to content
Snippets Groups Projects

[bugfix] Avoid calling std::real for unsupported types

Merged Carsten Gräser requested to merge feature/disable-cg-condition-estimate-vc into master

The condition estimate is only supported for field_types float and double. Unfortunately, compiling this failed for any field_type not supported by std::real. Replacing the dynamic check by a static one helps to avoid the problem.

This fixes one reason for a CI failure introduced in !102 (merged).

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