Skip to content

Commit 878afb6

Browse files
committed
full sweeps in optimize!
1 parent 901430b commit 878afb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tensorci2.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,14 +684,15 @@ function optimize!(
684684
end
685685

686686
sweep2site!(
687-
tci, f, 1;
687+
tci, f, 2;
688688
iter1 = 1,
689689
abstol=abstol,
690690
maxbonddim=maxbonddim,
691691
pivotsearch=pivotsearch,
692692
strictlynested=strictlynested,
693693
verbosity=verbosity,
694-
sweepstrategy=sweepstrategy
694+
sweepstrategy=sweepstrategy,
695+
fillsitetensors=true
695696
)
696697
if verbosity > 0 && length(globalpivots) > 0
697698
nrejections = length([p for p in globalpivots if abs(evaluate(tci, p) - f(p)) > abstol])

0 commit comments

Comments
 (0)