Skip to content

Commit a15347a

Browse files
JoeyT1994mtfishman
andauthored
Update src/formnetworks/bilinearformnetwork.jl
Co-authored-by: Matt Fishman <[email protected]>
1 parent 0351516 commit a15347a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formnetworks/bilinearformnetwork.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function BilinearFormNetwork(
7171
operator_inds = union_all_inds(s, s_mapped)
7272

7373
O = ITensorNetwork(operator_inds; link_space) do v
74-
inds -> itensor_identity_map(s[v] .=> s_mapped[v])
74+
return inds -> itensor_identity_map(s[v] .=> s_mapped[v])
7575
end
7676
return BilinearFormNetwork(O, bra, ket; dual_site_index_map, kwargs...)
7777
end

0 commit comments

Comments
 (0)