Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/area extraction test #179

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
Remove assertion in PointCloud to cater for empty partitions
  • Loading branch information
wdeconinck committed Mar 11, 2024
commit 102a734458d7433c07050e4b3a859b82a270ae8c
1 change: 0 additions & 1 deletion src/atlas/functionspace/PointCloud.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ PointCloud::PointCloud(const Grid& grid, const grid::Partitioner& _partitioner,

if (halo_radius == 0. || nb_partitions_ == 1) {
idx_t size_halo = size_owned;
ATLAS_ASSERT(size_owned > 0);
lonlat_ = Field("lonlat", array::make_datatype<double>(), array::make_shape(size_halo, 2));
ghost_ = Field("ghost", array::make_datatype<int>(), array::make_shape(size_halo));
global_index_ = Field("global_index", array::make_datatype<gidx_t>(), array::make_shape(size_halo));
Expand Down