Skip to content

Commit 1de302e

Browse files
committed
fix
1 parent cd3e234 commit 1de302e

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

lib/ModelingToolkitBase/test/implicit_discrete_system.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ rng = StableRNG(22525)
3030
@mtkcompile sys = System([x(k) ~ x(k) * x(k - 1) - 3], t)
3131
if @isdefined(ModelingToolkit)
3232
@test_throws ModelingToolkitBase.MissingGuessError prob = ImplicitDiscreteProblem(
33-
sys, [], tspan
33+
sys, [], tspan,
34+
missing_guess_values = MissingGuessValue.Error()
3435
)
3536
end
3637
end

lib/ModelingToolkitBase/test/initial_values.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ end
203203

204204
@test_throws ModelingToolkitBase.MissingGuessError ODEProblem(
205205
pend, [x => 1, g => 1], (0, 1); guesses = [y => λ, λ => y + 1],
206-
missing_guess_value==MissingGuessValue.Error()
206+
missing_guess_value = MissingGuessValue.Error()
207207
)
208208
ODEProblem(
209209
pend, [x => 1, D(y) => 0, g => 1], (0, 1);

lib/ModelingToolkitBase/test/initializationsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ if @isdefined(ModelingToolkit)
627627
ssys = mtkcompile(sys)
628628
@test_throws ModelingToolkitBase.MissingGuessError ODEProblem(
629629
ssys, [x => 3], (0, 1),
630-
missing_guess_values = MissingGuessValue.Error()
630+
missing_guess_value = MissingGuessValue.Error()
631631
) # y should have a guess
632632
end
633633
end

0 commit comments

Comments
 (0)