Skip to content

Commit 7e76c6e

Browse files
committed
Set current_exponent before starting calculation
1 parent c5e3949 commit 7e76c6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/solvers/applyexp.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ function applyexp(
9494
kws...,
9595
)
9696
init_prob = ApplyExpProblem(;
97-
state=align_indices(init_state), operator=ProjTTN(align_indices(operator))
97+
state=align_indices(init_state),
98+
operator=ProjTTN(align_indices(operator)),
99+
current_exponent=first(exponents),
98100
)
99101
exponent_steps = diff([zero(eltype(exponents)); exponents])
100102
sweep_kws = (; outputlevel, extract_kwargs, insert_kwargs, nsites, order, update_kwargs)

0 commit comments

Comments
 (0)