Skip to content

Commit a23f60e

Browse files
committed
BUG: LSODA solver not being detected correctly.
1 parent c438427 commit a23f60e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Attention: The newest changes should be on top -->
4242

4343

4444
### Fixed
45-
45+
- BUG: Non-overshootable simulations error on time parsing. [#807](https://github.com/RocketPy-Team/RocketPy/pull/807)
4646

4747
## v1.9.0 - 2025-03-24
4848

rocketpy/simulation/flight.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,8 +1277,8 @@ def __set_ode_solver(self, solver):
12771277
f"Invalid ``ode_solver`` input: {solver}. "
12781278
f"Available options are: {', '.join(ODE_SOLVER_MAP.keys())}"
12791279
) from e
1280-
1281-
self.__is_lsoda = hasattr(self._solver, "_lsoda_solver")
1280+
1281+
self.__is_lsoda = issubclass(self._solver, LSODA)
12821282

12831283
@cached_property
12841284
def effective_1rl(self):

0 commit comments

Comments
 (0)