Skip to content

Commit

Permalink
Update test/base/test_mps.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored Feb 21, 2025
1 parent d8fb991 commit dde07bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/base/test_mps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,8 @@ end
@testset "truncate! with callback!" begin
nsites = 10
nbonds = nsites - 1
mps_ = random_mps(nsites; linkdims=10)
s = siteinds("S=1/2", nsites)
mps_ = random_mps(s; linkdims=10)
truncation_errors = ones(nbonds) * -1.0
function _callback!(; link, truncation_error)
bond_no = last(link)
Expand Down

0 comments on commit dde07bb

Please sign in to comment.