diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-06-24 11:08:54 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-06-24 11:08:54 +0200 |
| commit | 7523645bae2295430b8a96a43ea87c2f345b62ea (patch) | |
| tree | 1f27443401c0ff0f00f2ee1e7c9b8adbb05f24dc /test/unit | |
| parent | 57ccf582fcc58edb34a9437c17286ca89810a8bd (diff) | |
| download | PROJ-7523645bae2295430b8a96a43ea87c2f345b62ea.tar.gz PROJ-7523645bae2295430b8a96a43ea87c2f345b62ea.zip | |
test_defmodel.cpp: increase comparison tolerance for ARM and MIPS platforms (fixes #2271)
Diffstat (limited to 'test/unit')
| -rw-r--r-- | test/unit/test_defmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_defmodel.cpp b/test/unit/test_defmodel.cpp index b3228fd0..ac9da818 100644 --- a/test/unit/test_defmodel.cpp +++ b/test/unit/test_defmodel.cpp @@ -1371,7 +1371,7 @@ TEST(defmodel, evaluator_horizontal_unit_metre) { DeltaLongLatToEastingNorthing(DegToRad(lat), newLon - DegToRad(lon), newLat - DegToRad(lat), a, b, de, dn); EXPECT_NEAR(de, tFactor * expected_de, 1e-10); - EXPECT_NEAR(dn, tFactor * expected_dn, 1e-10); + EXPECT_NEAR(dn, tFactor * expected_dn, 1e-9); EXPECT_NEAR(newZ - zVal, tFactor * 0.84, 1e-4); } } |
