Skip to content

Commit 2c48154

Browse files
fix
1 parent 8e16a57 commit 2c48154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/multi_domain.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ end
181181
@test sol[inertia.w][idx_t] (dc_gain * [V_step; -tau_L_step])[2]
182182
@test sol[emf.i][idx_t] (dc_gain * [V_step; -tau_L_step])[1]
183183
#
184-
@test sol[inertia.w] == sol[speed_sensor.w]
184+
@test sol[inertia.w] == sol[speed_sensor.w.u]
185185
end
186186

187187
@testset "El. Heating Circuit" begin
@@ -191,7 +191,7 @@ end
191191
@named heating_resistor = HeatingResistor(R_ref = 100, alpha = 1e-3, T_ref = 293.15)
192192
@named thermal_conductor = ThermalConductor(G = 50)
193193
@named env = FixedTemperature(T = 273.15 + 20)
194-
connections = [connect(source.n, ground.p, heatingResistor.n)
194+
connections = [connect(source.n, ground.g, heatingResistor.n)
195195
connect(source.p, heating_resistor.p)
196196
connect(heating_resistor.heat_port, thermal_conductor.port_a)
197197
connect(thermal_conductor.port_b, env.port)]

0 commit comments

Comments
 (0)