Skip to content

Commit a8eeb56

Browse files
committed
CLN: remove unnecessary import from core
1 parent 1134136 commit a8eeb56

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pysindy/_core.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import sys
21
import warnings
32
from abc import ABC
43
from abc import abstractmethod
@@ -1087,10 +1086,7 @@ def _check_multiple_trajectories(x, x_dot, u) -> bool:
10871086
SequenceOrNone = Union[Sequence, None]
10881087
mixed_trajectories = (
10891088
isinstance(x, Sequence)
1090-
and (
1091-
not isinstance(x_dot, SequenceOrNone)
1092-
or not isinstance(u, SequenceOrNone)
1093-
)
1089+
and (not isinstance(x_dot, SequenceOrNone) or not isinstance(u, SequenceOrNone))
10941090
or isinstance(x_dot, Sequence)
10951091
and not isinstance(x, Sequence)
10961092
or isinstance(u, Sequence)

0 commit comments

Comments
 (0)