Skip to content

Commit

Permalink
MIR-666 Interpolation grid-box average on shifted grids with finely-t…
Browse files Browse the repository at this point in the history
…uned bounding box, test fix
  • Loading branch information
pmaciel committed Jun 17, 2024
1 parent 14a7e27 commit 3ec2763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mir/repres/latlon/RegularLL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ std::vector<util::GridBox> RegularLL::gridBoxes() const {
r.emplace_back(latEdges[j], lonEdges[i], latEdges[j + 1], lonEdges[i + 1]);
}

ASSERT(periodic ? lon0 == lon1.normalise(lon0) : lon0 < lon1.normalise(lon0));
ASSERT(periodic ? lon0 == lon1.normalise(lon0) : lon0 <= lon1.normalise(lon0));
}

ASSERT(r.size() == numberOfPoints());
Expand Down

0 comments on commit 3ec2763

Please sign in to comment.