From 87f3587d1e78bc2920a7abd8ab92dc1b47db3289 Mon Sep 17 00:00:00 2001 From: Jordan Murphy Date: Mon, 14 Jul 2025 16:11:37 +0300 Subject: [PATCH 1/2] fix: try to resolve CI and compat --- Project.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Project.toml b/Project.toml index 227036c..4d5231c 100644 --- a/Project.toml +++ b/Project.toml @@ -21,11 +21,8 @@ ReferenceFrameRotationsZygoteExt = ["ForwardDiff", "Zygote"] [compat] Crayons = "4.0" -DifferentiationInterface = "0.6" -FiniteDiff = "2.26" ForwardDiff = "0.10, 1" LinearAlgebra = "1.6" -Mooncake = "0.4" Printf = "1.6" Random = "1.6" StableRNGs = "1" From 6ea6d0b807c21eff738d2943daf4981422d6d8cd Mon Sep 17 00:00:00 2001 From: Jordan Murphy Date: Mon, 14 Jul 2025 16:25:57 +0300 Subject: [PATCH 2/2] chore: remove mooncake from test routine --- Project.toml | 3 +-- test/differentiability/dcm.jl | 7 ------- test/runtests.jl | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Project.toml b/Project.toml index 4d5231c..5ed8d51 100644 --- a/Project.toml +++ b/Project.toml @@ -34,9 +34,8 @@ julia = "1.10" [extras] DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63" FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41" -Mooncake = "da2b9cff-9c12-43a0-ae48-6db2b0edb7d6" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test", "DifferentiationInterface", "FiniteDiff", "Mooncake", "StableRNGs", "Zygote"] +test = ["Test", "DifferentiationInterface", "FiniteDiff", "StableRNGs", "Zygote"] diff --git a/test/differentiability/dcm.jl b/test/differentiability/dcm.jl index 51a6b83..6b96636 100644 --- a/test/differentiability/dcm.jl +++ b/test/differentiability/dcm.jl @@ -33,11 +33,4 @@ f_fd, df_fd = value_and_jacobian((x) -> orthonormalize(DCM(x)), AutoFiniteDiff(), data) f_ad, df_ad = value_and_jacobian((x) -> orthonormalize(DCM(x)), AutoZygote(), data) - - f_adm, df_adm = value_and_jacobian( - (x) -> Array(orthonormalize(DCM(x))), AutoMooncake(; config = nothing), data - ) - - @test f_ad == f_fd - @test df_ad ≈ df_fd rtol = 1e-7 end diff --git a/test/runtests.jl b/test/runtests.jl index 30728fd..3083da8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -6,7 +6,7 @@ using StaticArrays import Base: isapprox -using DifferentiationInterface, FiniteDiff, Mooncake, Zygote +using DifferentiationInterface, FiniteDiff, Zygote ############################################################################################ # Auxiliary Functions #