From b8a595ad9ead53e75a0feee6d1d0175c67074ee8 Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Mon, 16 Oct 2023 11:17:20 +0200 Subject: [PATCH] Fixup 03ef162 --- src/atlas/mesh/MeshBuilder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atlas/mesh/MeshBuilder.cc b/src/atlas/mesh/MeshBuilder.cc index 735eb2e2d..32020d997 100644 --- a/src/atlas/mesh/MeshBuilder.cc +++ b/src/atlas/mesh/MeshBuilder.cc @@ -83,7 +83,7 @@ void validate_grid_vs_mesh(const atlas::Grid& grid, size_t nb_nodes, const doubl double lonlat[2]; const auto equal_within_roundoff = [](const double a, const double b) -> bool { - return std::abs(a - b) <= 360.0 + 1.0e-16; + return std::abs(a - b) <= 360.0 * 1.0e-16; }; // Check lonlats for each supported grid type