We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 985f173 commit 654d095Copy full SHA for 654d095
diffeqpy/de.py
@@ -6,7 +6,7 @@
6
de.jit32 = Main.seval("""
7
function jit(x)
8
prob = typeof(x).name.wrapper(ModelingToolkit.complete(ModelingToolkit.modelingtoolkitize(x); split = false), [], Float32.(x.tspan))
9
- remake(prob; u0 = Float32.(prob.u0), p = Float32.(prob.p))
+ ModelingToolkit.remake(prob; u0 = Float32.(prob.u0), p = Float32.(prob.p))
10
end
11
""") # kinda hackey
12
sys.modules[__name__] = de # mutate myself
0 commit comments