Skip to content

Commit 7498205

Browse files
fix: remove print statements, fix import
1 parent 346d822 commit 7498205

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/systems/discrete_system/discrete_system.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ function process_DiscreteProblem(constructor, sys::DiscreteSystem, u0map, paramm
231231
trueu0map[var] = defs[root]
232232
end
233233
end
234-
@show trueu0map u0map
235234
if has_index_cache(sys) && get_index_cache(sys) !== nothing
236235
u0, defs = get_u0(sys, trueu0map, parammap)
237236
p = MTKParameters(sys, parammap, trueu0map)

test/mtkparameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using ModelingToolkit
22
using ModelingToolkit: t_nounits as t, D_nounits as D, MTKParameters
33
using SymbolicIndexingInterface
44
using SciMLStructures: SciMLStructures, canonicalize, Tunable, Discrete, Constants
5-
using ForwarDiff
5+
using ForwardDiff
66

77
@parameters a b c d::Integer e[1:3] f[1:3, 1:3]::Int g::Vector{AbstractFloat} h::String
88
@named sys = ODESystem(

0 commit comments

Comments
 (0)