From db883187a1ef550f163101716391cc7e10fb439d Mon Sep 17 00:00:00 2001 From: Connor Date: Wed, 25 Aug 2021 16:45:10 -0600 Subject: [PATCH] Loosening tolerances on the inner loop solver tests --- julia/src/find_closest.jl | 2 +- julia/test/find_closest.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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