Skip to content

Commit

Permalink
Use grix.xy() for ComputePointXY
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-jonasganderton committed Dec 2, 2024
1 parent 43823b6 commit 5f80ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atlas/grid/detail/grid/CubedSphere2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
};

Expand Down

0 comments on commit 5f80ea3

Please sign in to comment.