mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
[test][robustness] updated tolerance
This commit is contained in:
parent
c72cccb7ed
commit
baba553a5e
@ -170,12 +170,10 @@ void test_all(std::string const& type, int seed, int count, p_q_settings setting
|
||||
{
|
||||
if (type == "float")
|
||||
{
|
||||
settings.tolerance = 1.0e-3;
|
||||
test_type<float, Clockwise, Closed>(seed, count, settings);
|
||||
}
|
||||
else if (type == "double")
|
||||
{
|
||||
settings.tolerance = 1.0e-4;
|
||||
test_type<double, Clockwise, Closed>(seed, count, settings);
|
||||
}
|
||||
#if defined(HAVE_TTMATH)
|
||||
|
@ -45,7 +45,7 @@ struct p_q_settings
|
||||
: svg(false)
|
||||
, also_difference(false)
|
||||
, wkt(false)
|
||||
, tolerance(1.0e-6)
|
||||
, tolerance(1.0e-3) // since rescaling to integer the tolerance should be less. Was originally 1.0e-6
|
||||
{}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user