Skip to content

Commit

Permalink
Make differential arg ts generic
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Sep 22, 2024
1 parent e5cd20f commit 02b4622
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ end
Calculate the differential element (length, area, volume, etc) of the parametric
function for `geometry` at arguments `ts`.
"""
function differential(geometry, ts::AbstractVector)
function differential(
geometry,
ts
)
J = jacobian(geometry, ts)

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

0 comments on commit 02b4622

Please sign in to comment.