Commit f2d76472 authored by Oliver Sander's avatar Oliver Sander

[!126] Make tolerances in checkGeometry depending on ctype

Merge branch 'issue/check_geometry_tolerances' into 'master'

ref:core/dune-geometry

### Summary

Replaces fixed tolerances 1.e-8 with ctype dependent tolerance

### Details

Tests with geometries using float as ctype may fail to reach the desired fixed
tolerance 1.e-8. This is corrected by using the
tolerance=sqrt(numeric_limits<ctype>::epsilon()) value. This value gives
approximately

-   `tolerance<double> = 1.5e-8` and
-   `tolerance<float> = 3.5e-4`

and thus previous test runs with ctype=double should also pass the test with
this change.

See merge request [core/dune-geometry!126]

  [core/dune-geometry!126]: gitlab.dune-project.org/core/dune-geometry/merge_requests/126
parents acb8e429 b8d9e5f5
Pipeline #20889 passed with stage
in 2 minutes and 21 seconds