Skip to content

Commit 1ececda

Browse files
authored
add comments
1 parent 79bc22f commit 1ececda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/steadystate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function steadystate(
9898
u0 = _convert_u0(mat2vec(ket2dm(ψ0).data))
9999

100100
Ftype = real(eltype(u0))
101-
Tspan = (convert(Ftype, 0), convert(Ftype, tspan))
101+
Tspan = (convert(Ftype, 0), convert(Ftype, tspan)) # Convert it to support GPUs and avoid type instabilities for OrdinaryDiffEq.jl
102102

103103
L = MatrixOperator(liouvillian(H, c_ops).data)
104104

0 commit comments

Comments
 (0)