Skip to content

Commit

Permalink
Merge pull request #33 from NCKU-QFort/fix/precompile
Browse files Browse the repository at this point in the history
Fix warnings from OrdinaryDiffEq.jl
  • Loading branch information
ytdHuang authored Oct 20, 2023
2 parents 87dcbe2 + 6716785 commit 8c3b022
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PrecompileTools.@setup_workload begin
# precompile Steadystate
@info "Precompiling steady state solver..."
ados1 = SteadyState(Mb; verbose=false)
ados1 = SteadyState(Mb, [1. 0.; 0. 0.]; verbose=false)
ados1 = SteadyState(Mb, [1. 0.; 0. 0.]; verbose=false, reltol=1e-1, abstol=1e-3)
E1 = Expect(op, ados1)

# precompile evolution
Expand Down
2 changes: 1 addition & 1 deletion test/QOExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bath = Boson_DrudeLorentz_Pade(Q, λ, W, kT, N)
L = M_Boson(Hsys, tier, bath; verbose=false)

# SteadyState
ados = SteadyState(L, ρ0; verbose=false)
ados = SteadyState(L, ρ0; verbose=false, reltol=1e-2, abstol=1e-4)

# Evolution
tier = 5
Expand Down
2 changes: 1 addition & 1 deletion test/phys_analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bath = Boson_DrudeLorentz_Pade(Q, λ, W, kT, N)
tier = 5
L = M_Boson(Hsys, tier, bath; verbose=false)

ados = SteadyState(L, ρ0; verbose=false)
ados = SteadyState(L, ρ0; verbose=false, reltol=1e-2, abstol=1e-4)
ρs = getRho(ados)
@testset "Steady state" begin
O = [1 0.5; 0.5 1]
Expand Down

0 comments on commit 8c3b022

Please sign in to comment.