Skip to content

Commit 608f345

Browse files
Update cavity_antiresonance_indexed.md
1 parent f17120e commit 608f345

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/examples/cavity_antiresonance_indexed.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ nothing # hide
144144
n_ls = zeros(length(Δ_ls))
145145
146146
for i=1:length(Δ_ls)
147-
Δc_ = Δ_ls[i]
148-
Δa_ = Δc_ + Ωij(1,2) # cavity on resonace with the shifted collective emitter
149-
p0_ = [Δc_; η_; Δa_; κ_; gi_; Γij_; Ωij_]
147+
Δc_i = Δ_ls[i]
148+
Δa_i = Δc_i + Ωij(1,2) # cavity on resonace with the shifted collective emitter
149+
p0_ = [Δc_i; η_; Δa_i; κ_; gi_; Γij_; Ωij_]
150150
151151
# create (remake) new ODEProblem
152152
prob_ = ODEProblem(sys,u0,(0.0, 20),ps.=>p0_)

0 commit comments

Comments
 (0)