1010from ._path import AbstractPath
1111
1212
13- class RESULTS (optx .RESULTS ): # pyright: ignore
13+ class RESULTS (optx .RESULTS ): # pyright: ignore[reportGeneralTypeIssues]
1414 successful = ""
1515 max_steps_reached = (
1616 "The maximum number of solver steps was reached. Try increasing `max_steps`."
@@ -121,8 +121,8 @@ class Solution(AbstractPath):
121121 # the structure of `subs`.
122122 # SaveAt(fn=...) means that `ys` will then follow with arbitrary sub-dependent
123123 # PyTree structures.
124- ts : PyTree [Real [Array , " ?times" ], " S" ] | None
125- ys : PyTree [Shaped [Array , "?times ?*shape" ], "S ..." ] | None
124+ ts : PyTree [Real [Array , " ?times" ], " S" ] | None # pyright: ignore[reportUndefinedVariable]
125+ ys : PyTree [Shaped [Array , "?times ?*shape" ], "S ..." ] | None # pyright: ignore
126126 interpolation : DenseInterpolation | None
127127 stats : dict [str , Any ]
128128 result : RESULTS
@@ -133,7 +133,7 @@ class Solution(AbstractPath):
133133
134134 def evaluate (
135135 self , t0 : RealScalarLike , t1 : RealScalarLike | None = None , left : bool = True
136- ) -> PyTree [Shaped [Array , "?*shape" ], " Y" ]:
136+ ) -> PyTree [Shaped [Array , "?*shape" ], " Y" ]: # pyright: ignore[reportUndefinedVariable]
137137 """If dense output was saved, then evaluate the solution at any point in the
138138 region of integration `self.t0` to `self.t1`.
139139
@@ -153,7 +153,7 @@ def evaluate(
153153
154154 def derivative (
155155 self , t : RealScalarLike , left : bool = True
156- ) -> PyTree [Shaped [Array , "?*shape" ], " Y" ]:
156+ ) -> PyTree [Shaped [Array , "?*shape" ], " Y" ]: # pyright: ignore[reportUndefinedVariable]
157157 r"""If dense output was saved, then calculate an **approximation** to the
158158 derivative of the solution at any point in the region of integration `self.t0`
159159 to `self.t1`.
0 commit comments