Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,23 @@ ReferenceFrameRotationsZygoteExt = ["ForwardDiff", "Zygote"]
[compat]
Crayons = "4.0"
DifferentiationInterface = "0.6"
FiniteDiff = "2.26"
ForwardDiff = "0.10"
FiniteDiff = "2"
ForwardDiff = "0.10, 1.0"
LinearAlgebra = "1.6"
Mooncake = "0.4"
Printf = "1.6"
Random = "1.6"
StableRNGs = "1"
StaticArrays = "1"
Test = "1.6"
Zygote = "0.6"
julia = "1.10"
Zygote = "0.6, 0.7"
julia = "1.10, 1.11, 1.12"

[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"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Test", "DifferentiationInterface", "FiniteDiff", "Mooncake", "StableRNGs", "Zygote"]
test = ["Test", "DifferentiationInterface", "FiniteDiff", "StableRNGs", "Zygote"]
4 changes: 0 additions & 4 deletions test/differentiability/dcm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
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
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using StaticArrays

import Base: isapprox

using DifferentiationInterface, FiniteDiff, Mooncake, Zygote
using DifferentiationInterface, FiniteDiff, Zygote

############################################################################################
# Auxiliary Functions #
Expand Down