From 5f80ea3d9918f2a44e27abb17645f4a4c8835b72 Mon Sep 17 00:00:00 2001 From: mo-jonasganderton Date: Mon, 2 Dec 2024 11:06:04 +0000 Subject: [PATCH] Use grix.xy() for ComputePointXY --- src/atlas/grid/detail/grid/CubedSphere2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atlas/grid/detail/grid/CubedSphere2.h b/src/atlas/grid/detail/grid/CubedSphere2.h index 475bbba30..35a7719ee 100644 --- a/src/atlas/grid/detail/grid/CubedSphere2.h +++ b/src/atlas/grid/detail/grid/CubedSphere2.h @@ -17,7 +17,7 @@ class CubedSphere2 : public Grid { // Get the lonlat and return as PointLonLat object struct ComputePointXY { ComputePointXY(const CubedSphere2& grid): grid_(grid) {} - void operator()(idx_t n, PointXY& point) { grid_.lonlat(n, point); } + void operator()(idx_t n, PointXY& point) { grid_.xy(n, point); } const CubedSphere2& grid_; };