https://github.com/CGAL/cgal
Revision 031205362b06aa6b701812610a34503fe3750b24 authored by Laurent Rineau on 13 July 2017, 15:26:59 UTC, committed by Laurent Rineau on 13 July 2017, 15:26:59 UTC
Replace a call to `force_ieee_double_precision()` by the creation of a
guard object `Set_ieee_double_precision`. The destructor of that object
restores the rounding mode. That avoids that sort of error:
```
terminate called after throwing an instance of 'CGAL::Assertion_exception'
  what():  CGAL ERROR: assertion violation!
Expr: FPU_get_cw() == mode
File: /mnt/testsuite/include/CGAL/test_FPU_rounding_mode_impl.h
Line: 45
```
1 parent 3329e0d
History
Tip revision: 031205362b06aa6b701812610a34503fe3750b24 authored by Laurent Rineau on 13 July 2017, 15:26:59 UTC
Fix the issue of the rounding mode
Tip revision: 0312053

back to top