Skip to content

Commit 0c07249

Browse files
committed
plates._vzcheck: fix type of iphis
1 parent db0d34e commit 0c07249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stagpy/plates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
from .stagyydata import StagyyData
1717

1818
if typing.TYPE_CHECKING:
19-
from typing import Iterable, Tuple, TextIO, Union
19+
from typing import Sequence, Tuple, TextIO, Union
2020
from matplotlib.axes import Axes
2121
from numpy import ndarray
2222
from ._step import Step, _Geometry
2323

2424

25-
def _vzcheck(iphis: Iterable[int], snap: Step, vz_thres: float) -> ndarray:
25+
def _vzcheck(iphis: Sequence[int], snap: Step, vz_thres: float) -> ndarray:
2626
"""Remove positions where vz is below threshold."""
2727
# verifying vertical velocity
2828
vzabs = np.abs(snap.fields['v3'].values[0, ..., 0])

0 commit comments

Comments
 (0)