From cca75482bde2ae8ea52d81e3ace7026366efea8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Eduardo=20Ram=C3=ADrez=20Montoya?= Date: Fri, 20 Sep 2024 10:51:33 -0600 Subject: [PATCH] Fix iod test --- test/orbitdetermination.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/orbitdetermination.jl b/test/orbitdetermination.jl index e5d80fcd..fda5b413 100644 --- a/test/orbitdetermination.jl +++ b/test/orbitdetermination.jl @@ -588,7 +588,9 @@ using NEOs: NEOSolution, numberofdays @test isdiag(sol.jacobian) @test maximum(sol.jacobian) < 1e-5 # Compatibility with JPL - @test all(jplcompare("2011 UE256", sol) .< 1.4) + JPL = [1.5278628625115747, 0.9328045030769134, 0.37557784083953694, + -0.01435645430893024, 0.0002883436308974054, 0.002280157717152364] + @test all(abs.(sol() - JPL) ./ sigmas(sol) .< 1.4) end end \ No newline at end of file