Skip to content

Commit 655556c

Browse files
committed
Update solver.jl
1 parent 12e8fd5 commit 655556c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solver.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function waveguide_evolution(times,psi,H;fout=nothing)
3535
if time == tend
3636
return psi
3737
else
38-
return psi
38+
return 0
3939
end
4040
end
4141
if fout === nothing
@@ -75,7 +75,7 @@ function waveguide_montecarlo(times,psi,H,J;fout=nothing,kwargs...)
7575
if time == tend
7676
return psi
7777
else
78-
return psi
78+
return 0
7979
end
8080
end
8181
if fout === nothing

0 commit comments

Comments
 (0)