From 6795b50b3676cc31b126cfea57e1ead158dd73ce Mon Sep 17 00:00:00 2001 From: mo-jonasganderton Date: Thu, 6 Feb 2025 16:03:48 +0000 Subject: [PATCH] Add grid_ to constructor with projection --- src/atlas/grid/CubedSphereGrid2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atlas/grid/CubedSphereGrid2.cc b/src/atlas/grid/CubedSphereGrid2.cc index 9c2625133..eec7fbce2 100644 --- a/src/atlas/grid/CubedSphereGrid2.cc +++ b/src/atlas/grid/CubedSphereGrid2.cc @@ -14,6 +14,6 @@ CubedSphereGrid2::CubedSphereGrid2(const Grid& grid): Grid(grid), grid_(cubedsphere_grid2(get())) {} CubedSphereGrid2::CubedSphereGrid2(idx_t resolution, Projection projection): - Grid(new grid::detail::grid::CubedSphere2(resolution, projection)) {} + Grid(new grid::detail::grid::CubedSphere2(resolution, projection)), grid_(cubedsphere_grid2(get())) {} } // namespace atlas