Skip to content

Commit cc42762

Browse files
committed
dd.stability --> dd.limits
1 parent 8d7056d commit cc42762

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/expressions/dynamic.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -614,16 +614,16 @@ dyexp["pulse_schedule.tf.b_field_tor_vacuum.reference"] =
614614
dyexp["pulse_schedule.tf.time"] =
615615
(time; dd, _...) -> dd.equilibrium.time
616616

617-
#= ========= =#
618-
# stability #
619-
#= ========= =#
620-
dyexp["stability.model[:].cleared"] =
621-
(time; model, _...) -> Int.(model.fraction .<= 1.0)
622-
623-
dyexp["stability.all_cleared"] =
624-
(time; stability, _...) -> begin
617+
#= ====== =#
618+
# limits #
619+
#= ====== =#
620+
dyexp["limits.model[:].cleared"] =
621+
(time; model, _...) -> Int.(model.fraction .< 1.0)
622+
623+
dyexp["limits.all_cleared"] =
624+
(time; limits, _...) -> begin
625625
all_cleared = ones(Int, length(time))
626-
for model in stability.model
626+
for model in limits.model
627627
all_cleared .= all_cleared .* model.cleared
628628
end
629629
return all_cleared

0 commit comments

Comments
 (0)