Skip to content

Commit 2e07200

Browse files
test: fix incorrect initial values in tests
1 parent 0a881e7 commit 2e07200

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/nonlinearsystem.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ sys = structural_simplify(ns; conservative = true)
293293
eqs = [0 ~ σ * (y - x)
294294
0 ~ x *- z) - y
295295
0 ~ x * y - β * z]
296-
guesses = [x => 1.0, y => 0.0, z => 0.0]
296+
guesses = [x => 1.0, z => 0.0]
297297
ps ==> 10.0, ρ => 26.0, β => 8 / 3]
298298
@mtkbuild ns = NonlinearSystem(eqs)
299299

test/reduction.jl

+1-3
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,7 @@ eqs = [u1 ~ u2
158158
reducedsys = structural_simplify(sys)
159159
@test length(observed(reducedsys)) == 2
160160

161-
u0 = [u1 => 1
162-
u2 => 1
163-
u3 => 0.3]
161+
u0 = [u2 => 1]
164162
pp = [2]
165163
nlprob = NonlinearProblem(reducedsys, u0, [p => pp[1]])
166164
reducedsol = solve(nlprob, NewtonRaphson())

0 commit comments

Comments
 (0)