From 6a97bb0efc4997849912cdee95cf4e9fadcc53b6 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 23 Mar 2024 15:54:28 -0400 Subject: [PATCH 1/2] Bump finite difference test tolerance a bit on adjoints It's sensitive to numerical details. --- test/adjoint.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/adjoint.jl b/test/adjoint.jl index 673f81b62..7c8b8f4b9 100644 --- a/test/adjoint.jl +++ b/test/adjoint.jl @@ -62,7 +62,7 @@ db12 = FiniteDiff.finite_difference_gradient( db22 = FiniteDiff.finite_difference_gradient( x -> f3(eltype(x).(A), eltype(x).(b1), x), copy(b1)) -@test dA≈dA2 atol=5e-5 +@test dA≈dA2 atol=1e-4 @test db1 ≈ db12 @test db2 ≈ db22 From 81d2c1241a1d9c3bf6739cf6fcf4380d08d0cd9a Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 23 Mar 2024 16:15:22 -0400 Subject: [PATCH 2/2] Update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b6f09dac0..b9af72e2f 100644 --- a/Project.toml +++ b/Project.toml @@ -86,7 +86,7 @@ KLU = "0.6" KernelAbstractions = "0.9.16" Krylov = "0.9" KrylovKit = "0.6" -LazyArrays = "1" +LazyArrays = "1.8" Libdl = "1.10" LinearAlgebra = "1.10" MPI = "0.20"