Skip to content

Commit

Permalink
atol/rtol fix
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Jul 9, 2018
1 parent 2ec1935 commit 308d0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newanasol.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function cinnerkernel(dimtype, x, tau, x0, sigma0, v, sigma, H, xb, lambda, t0,
end

function quadgkwithtol(f, a, b)
return QuadGK.quadgk(f, a, b; reltol=1.0e-7, abstol=1e-4)[1]
return QuadGK.quadgk(f, a, b; rtol=1.0e-7, atol=1e-4)[1]
end

function kernel_c(x::Vector, t::Real, x0::Vector, sigma0::Vector, v::Vector, sigma::Vector, H::Vector, xb::Vector, lambda::Real, t0::Real, t1::Real, dispersions, sources, boundaries, distributions=nothing)
Expand Down

0 comments on commit 308d0da

Please sign in to comment.