Skip to content

Commit

Permalink
Add grid_ to constructor with projection
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-jonasganderton committed Feb 7, 2025
1 parent 251e301 commit 6795b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atlas/grid/CubedSphereGrid2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6795b50

Please sign in to comment.