Skip to content

Commit 0ab996a

Browse files
Merge pull request #134 from ChrisRackauckas-Claude/docs-improvements-20251229-041639
Fix docstring typos and add missing backends to Auto function
2 parents 9b50f4e + fa2b1e0 commit 0ab996a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/dense.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ Defined by [ADTypes.jl](https://github.com/SciML/ADTypes.jl).
365365
366366
# Fields
367367
368-
- `config`: either `nothing` or an instance of `Mooncake.Config` -- see the docstring of `Mooncake.Config` for more information. `AutoForwardMooncake(; config=nothing)` is equivalent to `AutoForwardMooncake(; config=Mooncake.Config())`, i.e. the default configuration.
368+
- `config`: either `nothing` or an instance of `Mooncake.Config` -- see the docstring of `Mooncake.Config` for more information. `AutoMooncakeForward(; config=nothing)` is equivalent to `AutoMooncakeForward(; config=Mooncake.Config())`, i.e. the default configuration.
369369
"""
370370
Base.@kwdef struct AutoMooncakeForward{Tconfig} <: AbstractADType
371371
config::Tconfig = nothing
@@ -573,7 +573,7 @@ struct NoAutoDiff <: AbstractADType end
573573
574574
Signifies that code tried to use automatic differentiation, but [`NoAutoDiff`](@ref) was specified.
575575
576-
# Constructor
576+
# Constructors
577577
578578
NoAutoDiffSelectedError(msg::String)
579579
"""

src/symbols.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ ADTypes.AutoZygote()
2323
Auto(package::Symbol, args...; kws...) = Auto(Val(package), args...; kws...)
2424

2525
for backend in (:ChainRules, :Diffractor, :Enzyme, :Reactant, :FastDifferentiation,
26-
:FiniteDiff, :FiniteDifferences, :ForwardDiff, :Mooncake, :PolyesterForwardDiff,
27-
:ReverseDiff, :Symbolics, :Tapir, :Tracker, :Zygote)
26+
:FiniteDiff, :FiniteDifferences, :ForwardDiff, :GTPSA, :Mooncake, :PolyesterForwardDiff,
27+
:ReverseDiff, :Symbolics, :Tapir, :TaylorDiff, :Tracker, :Zygote)
2828
@eval Auto(::Val{$(QuoteNode(backend))}, args...; kws...) = $(Symbol(:Auto, backend))(
2929
args...; kws...)
3030
end

0 commit comments

Comments
 (0)