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.
NonlinearSystem
1 parent 1f1dae7 commit 5ee8edbCopy full SHA for 5ee8edb
test/initializationsystem.jl
@@ -792,10 +792,10 @@ end
792
@variables x=1.0 y=3.0
793
@parameters p q
794
795
- @mtkbuild sys = NonlinearSystem(
796
- [(x - p)^2 + (y - q)^3 ~ 0, x - q ~ 0]; defaults = [q => missing],
+ @named sys = NonlinearSystem(
+ [x + y - p ~ 0, x - q ~ 0]; defaults = [q => missing],
797
guesses = [q => 1.0], initialization_eqs = [p^2 + q^2 + 2p * q ~ 0])
798
-
+ sys = complete(sys)
799
for (probT, algs) in prob_alg_combinations
800
prob = probT(sys, [], [p => 2.0])
801
@test prob.f.initialization_data !== nothing
0 commit comments