Skip to content

Commit 47009bd

Browse files
committed
Format
1 parent 297e3d3 commit 47009bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/plotting.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function entanglementplot end
2626
@recipe function f(h::EntanglementPlot; site=0, expand_symmetry=false, sortby=maximum,
2727
sector_margin=1 // 10, sector_formatter=string)
2828
mps = h.args[1]
29-
(site <= length(mps) && !(site=0 && isa(mps, FiniteMPS))) ||
29+
(site <= length(mps) && !(site = 0 && isa(mps, FiniteMPS))) ||
3030
throw(ArgumentError("Invalid site $site for the given mps."))
3131

3232
spectra = entanglement_spectrum(mps, site)

0 commit comments

Comments
 (0)