Skip to content

Commit cb24503

Browse files
Fixing typing for UXGrid interpolators
1 parent 741698c commit cb24503

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/parcels/interpolators.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
if TYPE_CHECKING:
1414
from parcels._core.field import Field, VectorField
15+
from parcels._core.uxgrid import _UXGRID_AXES
1516
from parcels._core.xgrid import _XGRID_AXES
1617

1718
__all__ = [
@@ -572,7 +573,7 @@ def XNearest(
572573

573574
def UXPiecewiseConstantFace(
574575
particle_positions: dict[str, float | np.ndarray],
575-
grid_positions: dict[_XGRID_AXES, dict[str, int | float | np.ndarray]],
576+
grid_positions: dict[_UXGRID_AXES, dict[str, int | float | np.ndarray]],
576577
field: Field,
577578
):
578579
"""
@@ -587,7 +588,7 @@ def UXPiecewiseConstantFace(
587588

588589
def UXPiecewiseLinearNode(
589590
particle_positions: dict[str, float | np.ndarray],
590-
grid_positions: dict[_XGRID_AXES, dict[str, int | float | np.ndarray]],
591+
grid_positions: dict[_UXGRID_AXES, dict[str, int | float | np.ndarray]],
591592
field: Field,
592593
):
593594
"""

0 commit comments

Comments
 (0)