We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MTKParameters
generate_custom_function
1 parent e6c9eec commit 96268bdCopy full SHA for 96268bd
test/generate_custom_function.jl
@@ -30,6 +30,7 @@ fn5 = generate_custom_function(sys, ifelse(!p4, p1, p2[2]); expression = Val(fal
30
31
@variables x y[1:3]
32
sys = complete(NonlinearSystem(Equation[], [x; y], [p1, p2, p3, p4]; name = :sys))
33
+p = MTKParameters(sys, [])
34
35
fn1 = generate_custom_function(sys, x + y[1] + p1 + p2[1] + p3; expression = Val(false))
36
@test fn1(u0, p) == 6.0
0 commit comments