Skip to content

Commit

Permalink
Update old names
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Dec 2, 2024
1 parent 610f263 commit c9a03f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/differentiation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function jacobian(
geometry::G,
ts::Union{AbstractVector{T}, Tuple{T, Vararg{T}}}
) where {G <: Geometry, T <: AbstractFloat}
return jacobian(geometry, ts, _default_method(G))
return jacobian(geometry, ts, _default_diff_method(G))
end

function jacobian(
Expand Down Expand Up @@ -107,7 +107,7 @@ possible and finite difference approximations otherwise.
function differential(
geometry::G,
ts::Union{AbstractVector{T}, Tuple{T, Vararg{T}}},
diff_method::DifferentiationMethod = _default_method(G)
diff_method::DifferentiationMethod = _default_diff_method(G)
) where {G <: Geometry, T <: AbstractFloat}
J = Iterators.map(_KVector, jacobian(geometry, ts, diff_method))
return LinearAlgebra.norm(foldl(, J))
Expand Down

0 comments on commit c9a03f0

Please sign in to comment.