Skip to content

Commit 71faf6c

Browse files
committed
format
1 parent fb78b49 commit 71faf6c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/correlation.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,9 +578,8 @@ function _build_spec_func(ω, lhs, rhs, a1, a0, steady_vals, ps = [])
578578
subs_vals = zeros(length(Ax))
579579
subs_vals[i] = 1
580580
subs = Dict(lhs .=> subs_vals)
581-
A_i = [inorder!(SymbolicUtils.simplify(substitute(Ax[j], subs))) for j = 1:length(
582-
Ax,
583-
)]
581+
A_i =
582+
[inorder!(SymbolicUtils.simplify(substitute(Ax[j], subs))) for j = 1:length(Ax)]
584583
A[:, i] = A_i
585584
end
586585

test/test_indexed_scale.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ const qc = QuantumCumulants
291291
N_a = N1+N2 # number of atoms
292292
h_a = tensor([ha(i) for i = 1:N_a]...)
293293
s(x, y, aon) = Transition(h_a, Symbol(, aon, :_), x, y, aon)
294-
S(x, y, c) = [sum(s(x, y, aon) for aon = 1:N1), sum(s(x, y, aon) for aon = (N1+1):N_a)][c]
294+
S(x, y, c) =
295+
[sum(s(x, y, aon) for aon = 1:N1), sum(s(x, y, aon) for aon = (N1+1):N_a)][c]
295296
# Hamiltonian
296297
Ha_a = sum(Δ(c)*S(2, 2, c) for c = 1:M)
297298
Hd_a = sum(η(c)*(S(2, 1, c) + S(1, 2, c)) for c = 1:M)

0 commit comments

Comments
 (0)