Skip to content

Commit 9c166c8

Browse files
committed
Clean up
1 parent cf90252 commit 9c166c8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1818
ZMQ = "c2297ded-f4af-51ae-bb23-16f91089e4e1"
1919

2020
[compat]
21-
LinearAlgebra = "1.12.0"
2221
OMJulia = "0.3.3"
2322
julia = "1.10.10, 1.12.5"
2423

src/simulate.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ import ModelingToolkit
88
import Printf: @sprintf
99

1010
"""Module-level default simulation settings. Modify via `configure_simulate!`."""
11-
const _SIM_SETTINGS = SimulateSettings(solver = DifferentialEquations.Rodas5P())
11+
const _SIM_SETTINGS = SimulateSettings(solver = DifferentialEquations.Rodas5Pr())
1212

1313
"""
1414
configure_simulate!(; solver, saveat_n) → SimulateSettings
1515
1616
Update the module-level simulation settings in-place and return them.
1717
1818
# Keyword arguments
19-
- `solver` — any SciML ODE/DAE algorithm instance (e.g. `FBDF()`, `Rodas5P()`).
19+
- `solver` — any SciML ODE/DAE algorithm instance (e.g. `FBDF()`, `Rodas5Pr()`).
2020
- `saveat_n` — number of uniform time points for purely algebraic systems.
2121
2222
# Example
@@ -93,8 +93,6 @@ function run_simulate(ode_prob,
9393
count(!iszero, LinearAlgebra.diag(M))
9494
end
9595

96-
@show n_diff
97-
9896
kwargs = if n_unknowns == 0
9997
# No unknowns at all (e.g. BusUsage): the solver takes no
10098
# internal steps with saveat=[], leaving sol.t empty.

0 commit comments

Comments
 (0)