From aac67c9d37cd35defa9d2ef7a17ed2ec800eaa2c Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Mon, 23 Jan 2023 11:52:06 +0100 Subject: [PATCH] Fix compilation with ATLAS_BITS_LOCAL=64 --- src/atlas/util/PolygonLocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atlas/util/PolygonLocator.h b/src/atlas/util/PolygonLocator.h index a119ce303..b64749038 100644 --- a/src/atlas/util/PolygonLocator.h +++ b/src/atlas/util/PolygonLocator.h @@ -105,7 +105,7 @@ class PolygonLocator { return ii; } } - return -1; + return idx_t{-1}; }; if (partition < 0) {