Skip to content

Commit

Permalink
Add argument type parameters to differential
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Sep 27, 2024
1 parent 162e972 commit c10342f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/differentiation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ Calculate the differential element (length, area, volume, etc) of the parametric
function for `geometry` at arguments `ts`.
"""
function differential(
geometry,
ts
)
geometry::G,
ts::V
) where {G <: Meshes.Geometry, V <: Union{AbstractVector, Tuple}}
J = jacobian(geometry, ts)

# TODO generalize this with geometric algebra, e.g.: norm(foldl(∧, J))
Expand Down

0 comments on commit c10342f

Please sign in to comment.