More robustness of snap algorithm for unit tests

This commit is contained in:
Matthias Koefferlein 2019-11-12 20:13:23 +01:00
parent 6b5c951088
commit 7309688944
2 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ namespace lay
*/
inline db::DCoord snap (db::DCoord c)
{
return floor (c + 0.5);
return floor (c + 0.5 + db::coord_traits<double>::prec ());
}
/**

BIN
testdata/algo/device_extract_au10.gds.4 vendored Normal file

Binary file not shown.