Skip to content

Commit d64b212

Browse files
test: use SCCNonlinearProblem in test
1 parent 69e5c80 commit d64b212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/scc_nonlinear_problem.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,6 @@ end
288288
@parameters p[1:2] (f::Function)(..)
289289

290290
@mtkbuild sys = NonlinearSystem([x^2 - p[1]^2 ~ 0, y^2 ~ f(p)])
291-
prob = NonlinearProblem(sys, [x => 1.0, y => 1.0], [p => ones(2), f => sum])
291+
prob = SCCNonlinearProblem(sys, [x => 1.0, y => 1.0], [p => ones(2), f => sum])
292292
@test_nowarn solve(prob, NewtonRaphson())
293293
end

0 commit comments

Comments
 (0)