Skip to content

Commit 1f0e0a3

Browse files
committed
Formatting
1 parent b7a27c5 commit 1f0e0a3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/formnetworks/bilinearformnetwork.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,11 @@ function BilinearFormNetwork(
6464
s_mapped = dual_site_index_map(s)
6565
operator_inds = union_all_inds(s, s_mapped)
6666
constructor_f =
67-
v ->
68-
inds -> if !isempty(inds)
69-
reduce(*, [delta(s, sm) for (s, sm) in zip(s[v], s_mapped[v])])
70-
else
71-
ITensor(one(Bool))
72-
end
67+
v -> inds -> if !isempty(inds)
68+
reduce(*, [delta(s, sm) for (s, sm) in zip(s[v], s_mapped[v])])
69+
else
70+
ITensor(one(Bool))
71+
end
7372
O = ITensorNetwork(constructor_f, operator_inds; link_space)
7473
return BilinearFormNetwork(O, bra, ket; dual_site_index_map, kwargs...)
7574
end

0 commit comments

Comments
 (0)