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_; };