diff --git a/julia/src/find_closest.jl b/julia/src/find_closest.jl index 5152e01..5f12307 100644 --- a/julia/src/find_closest.jl +++ b/julia/src/find_closest.jl @@ -12,7 +12,7 @@ function single_shoot(start::Vector{Float64}, t0::Float64, tf::Float64, x0::AbstractVector, - tol=1e-8) + tol=1e-6) n::Int = length(x0)/3 function f!(F,x) diff --git a/julia/test/find_closest.jl b/julia/test/find_closest.jl index 79512ff..0236d56 100644 --- a/julia/test/find_closest.jl +++ b/julia/test/find_closest.jl @@ -33,7 +33,7 @@ colors=["#FFFFFF","#FF4444","#44FF44","#4444FF"]), "../plots/find_closest_test.html") if converged(result) - @test norm(path2[end,:] - final) < 1e-6 + @test norm(path2[end,:] - final) < 1e-4 end end