Skip to content

Commit

Permalink
Merge pull request #122 from ecmwf/feature/small-fix
Browse files Browse the repository at this point in the history
fix small xarray bug
  • Loading branch information
mathleur authored Apr 30, 2024
2 parents 09248bc + 317158b commit 3032fe7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions polytope/engine/hullslicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ def _build_sliceable_child(self, polytope, ax, node, datacube, lower, upper, nex
if flattened.get(datacube.coupled_axes[0][0], None) is not None:
flattened_tuple = (datacube.coupled_axes[0][0], flattened.get(datacube.coupled_axes[0][0], None))
flattened = {flattened_tuple[0]: flattened_tuple[1]}
else:
flattened = {}

values = self.axis_values_between.get((flattened_tuple, ax.name, lower, upper, method), None)
if self.axis_values_between.get((flattened_tuple, ax.name, lower, upper, method), None) is None:
Expand Down

0 comments on commit 3032fe7

Please sign in to comment.