Skip to content

Commit

Permalink
Fix weird type instability with vectorized e_ops generation
Browse files Browse the repository at this point in the history
  • Loading branch information
albertomercurio committed Jul 25, 2024
1 parent 5c29880 commit 8b23fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time_evolution/mesolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function mesolveProblem(
is_empty_e_ops = true
else
expvals = Array{ComplexF64}(undef, length(e_ops), length(t_l))
e_ops2 = _generate_mesolve_e_op.(e_ops)
e_ops2 = [_generate_mesolve_e_op(op) for op in e_ops]
is_empty_e_ops = isempty(e_ops)
end

Expand Down

0 comments on commit 8b23fb8

Please sign in to comment.