Skip to content

Commit d59b405

Browse files
committed
Fix formatting
1 parent b52e274 commit d59b405

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/utility/correlator.jl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ site1s = collect(site0 + CartesianIndex(0, i) for i in 1:maxsep)
1919
op = tJ.S_exchange(ComplexF64, Trivial, Trivial);
2020

2121
vals1 = correlator(peps, op, site0, site1s, env)
22-
vals2 = collect(
23-
begin
24-
O = LocalOperator(lattice, (site0, site1) => op)
25-
val = expectation_value(peps, O, env)
26-
end for site1 in site1s
27-
)
22+
vals2 = collect(begin
23+
O = LocalOperator(lattice, (site0, site1) => op)
24+
val = expectation_value(peps, O, env)
25+
end for site1 in site1s)
2826
@test vals1 vals2

0 commit comments

Comments
 (0)