From f1e7d46fae4de3ccc88f003d5076afb59f2bd248 Mon Sep 17 00:00:00 2001 From: Michael Ingold Date: Thu, 28 Nov 2024 08:54:49 -0500 Subject: [PATCH] Apply suggestion Co-authored-by: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com> --- src/integral.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integral.jl b/src/integral.jl index f6647e48..de69db5d 100644 --- a/src/integral.jl +++ b/src/integral.jl @@ -55,8 +55,8 @@ function _integral( `GaussKronrod` for surfaces.", :integral) # Nested integration - integrand(u, v) = f(geometry(u, v)) * differential(geometry, (u, v), diff_method) - ∫₁(v) = QuadGK.quadgk(u -> integrand(u, v), zero(FP), one(FP); rule.kwargs...)[1] + integrand2D(u, v) = f(geometry(u, v)) * differential(geometry, (u, v), diff_method) + ∫₁(v) = QuadGK.quadgk(u -> integrand2D(u, v), zero(FP), one(FP); rule.kwargs...)[1] return QuadGK.quadgk(v -> ∫₁(v), zero(FP), one(FP); rule.kwargs...)[1] else _error_unsupported_combination("geometry with more than two parametric dimensions",