diff --git a/Spatial_sorting/include/CGAL/Hilbert_sort_on_sphere_3.h b/Spatial_sorting/include/CGAL/Hilbert_sort_on_sphere_3.h index 98023865fe4..a9e1846c213 100644 --- a/Spatial_sorting/include/CGAL/Hilbert_sort_on_sphere_3.h +++ b/Spatial_sorting/include/CGAL/Hilbert_sort_on_sphere_3.h @@ -32,7 +32,7 @@ template class Hilbert_sort_on_sphere_3 { typedef typename K::Point_3 Point_3; - static const double _sqrt_of_one_over_three = 0.57735026919; + static const double _sqrt_of_one_over_three; // Face 1, x > sqrt(1/3) // Face 2, y > sqrt(1/3) @@ -111,7 +111,8 @@ public: *begin++ = vec[i][j]; } }; - +template +const double Hilbert_sort_on_sphere_3::_sqrt_of_one_over_three = 0.57735026919; } // namespace CGAL