Skip to content

Commit 7a0130c

Browse files
Fix downstream test guess
1 parent f76fb4a commit 7a0130c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/downstream/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2626
BoundaryValueDiffEq = "5"
2727
ForwardDiff = "0.10"
2828
JumpProcesses = "9.10"
29-
ModelingToolkit = "8.37, 9"
29+
ModelingToolkit = "9"
3030
ModelingToolkitStandardLibrary = "2.7"
3131
NonlinearSolve = "2, 3"
3232
Optimization = "3"

test/downstream/observables_autodiff.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function create_model(; C₁ = 3e-5, C₂ = 1e-6)
6969
systems = [
7070
resistor1, resistor2, capacitor1, capacitor2,
7171
source, input_signal, ground, ampermeter
72-
])
72+
], defaults = [resistor1.n.v => 0.0])
7373
end
7474

7575
@testset "DAE Observable function AD" begin
@@ -96,7 +96,7 @@ end
9696
# # mean(abs.(sol[sys.ampermeter.i] .- gt))
9797
# sum(sol[sys.ampermeter.i])
9898
# end
99-
#
99+
#
100100
# @test isnothing(gs_mtkp)
101101
# @test length(gs_p_new) == length(p_new)
102102
# end

0 commit comments

Comments
 (0)