Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Apr 17, 2024
1 parent f7890ed commit ffa366a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ansatz/Chain.jl
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ function truncate!(qtn::Chain, bond; threshold::Union{Nothing,Real} = nothing, m
extent = if !isnothing(maxdim)
1:min(size(TensorNetwork(qtn), vind), maxdim)
else
1:size(size(TensorNetwork(qtn), vind))
1:size(TensorNetwork(qtn), vind)
end |> collect

# remove 0s from spectrum
Expand Down

0 comments on commit ffa366a

Please sign in to comment.