Skip to content

Commit

Permalink
Fix for StructuredPartitionPolygon inner bounding box
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Jan 24, 2025
1 parent 10a4b45 commit 409a997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atlas/grid/StructuredPartitionPolygon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ void compute(const functionspace::FunctionSpaceImpl& _fs, idx_t _halo, std::vect
xmin = std::max(xmin, 0.5 * (compute_x(itop - 1, jtop) + compute_x(itop, jtop)));
}
else {
ymax = 0.5 * (p[YY] + compute_y(jtop));
ymax = 0.5 * (p[YY] + compute_y(jtop+1));
}
}

Expand Down

0 comments on commit 409a997

Please sign in to comment.