mirror of https://github.com/CGAL/cgal
Locally set up a FPU rounding mode, to assure that the norm is calculated
twice using the *same precision*.
This commit is contained in:
parent
4bf387c6ca
commit
29da6b1232
|
|
@ -278,6 +278,8 @@ test_coords_and_neighbors( const Triangul& T, const typename
|
|||
const typename Triangul::Geom_traits::FT&
|
||||
tolerance, const int& version )
|
||||
{
|
||||
const CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST);
|
||||
|
||||
typedef std::pair<typename Triangul::Geom_traits::Point_3,
|
||||
typename Triangul::Geom_traits::FT > Point_coord_pair;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue