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