Skip to content

Commit

Permalink
Bugfix - missing comma to capture as tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Sep 27, 2024
1 parent c10342f commit 1963044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integral.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function _integral_gk_1d(
rule::GaussKronrod;
FP::Type{T} = Float64
) where {T <: AbstractFloat}
integrand(t) = f(geometry(t)) * differential(geometry, (t))
integrand(t) = f(geometry(t)) * differential(geometry, (t,))
return QuadGK.quadgk(integrand, zero(FP), one(FP); rule.kwargs...)[1]
end

Expand Down

0 comments on commit 1963044

Please sign in to comment.