We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8ada90 commit 3da7289Copy full SHA for 3da7289
src/atlas/meshgenerator/detail/StructuredMeshGenerator.cc
@@ -360,6 +360,12 @@ Find min and max latitudes used by this part.
360
}
361
lat_north = *std::min_element(thread_reduce_lat_north.begin(), thread_reduce_lat_north.end());
362
lat_south = *std::max_element(thread_reduce_lat_south.begin(), thread_reduce_lat_south.end());
363
+ if (lat_north == std::numeric_limits<idx_t>::max()) {
364
+ lat_north = -1;
365
+ }
366
+ if (lat_south == std::numeric_limits<idx_t>::min()) {
367
+ lat_south = -1;
368
369
370
371
0 commit comments