Skip to content

Commit

Permalink
Fixed benchmarks for regridding.regrid().
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Dec 4, 2023
1 parent 130b115 commit 647a283
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions benchmarks/regrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
def setup_regrid_2d(
num: int,
method: str,
order: int,
):
num_x = num_y = num

Expand Down Expand Up @@ -38,21 +37,18 @@ def setup_regrid_2d(
coordinates_output=coordinates_output,
values_input=values_input,
method=method,
order=order,
)


def time_regrid_2d(
num: int,
method: str,
order: int,
):
regridding.regrid(
coordinates_input=coordinates_input,
coordinates_output=coordinates_output,
values_input=values_input,
method=method,
order=order,
)


Expand Down

0 comments on commit 647a283

Please sign in to comment.