mirror of https://github.com/CGAL/cgal
Merge pull request #746 from sgiraudot/Barycentric_coordinates_2-Fix_precision_too_high_32b-GF
Barycentric coordinates: precision too high for 32b processors
This commit is contained in:
commit
4ce7c123f0
|
|
@ -47,7 +47,7 @@ int main()
|
|||
const Scalar y_scale = Scalar(100);
|
||||
|
||||
int count = 0;
|
||||
const Scalar epsilon = Scalar(1) / Scalar(std::pow(10.0, 13.0));
|
||||
const Scalar epsilon = Scalar(1) / Scalar(std::pow(10.0, 8.0));
|
||||
|
||||
const Scalar limit_x = x_scale*step;
|
||||
const Scalar half = Scalar(1) / Scalar(2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue