Skip to content

Commit 561db3e

Browse files
authored
Merge pull request #337 from h-larsson/fix
Use input parameters for optimize in tree als fitting
2 parents e699ff7 + bc80d76 commit 561db3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quimb/tensor/fitting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def tensor_network_fit_tree(
700700
tn_fit._canonize_around_tids([tid])
701701

702702
# get the new conjugate tensor
703-
ti_new = tn_hole.contract(output_inds=ti.inds, optimize="auto-hq")
703+
ti_new = tn_hole.contract(output_inds=ti.inds, optimize=contract_optimize)
704704
ti_new.conj_()
705705
# modify the data
706706
ti.modify(data=ti_new.data)

0 commit comments

Comments
 (0)