From 19630443efccb9ec812cf53241c89f4955c6b8fa Mon Sep 17 00:00:00 2001 From: Michael Ingold Date: Fri, 27 Sep 2024 16:33:36 -0400 Subject: [PATCH] Bugfix - missing comma to capture as tuple --- src/integral.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integral.jl b/src/integral.jl index 4b30260a..9adfd810 100644 --- a/src/integral.jl +++ b/src/integral.jl @@ -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