Skip to content

Commit

Permalink
Update src/specializations/Triangle.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Lampert <[email protected]>
  • Loading branch information
mikeingold and JoshuaLampert authored Dec 2, 2024
1 parent 5b313f5 commit 29346fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/specializations/Triangle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function integral(
kwargs...
)
# Generate a _ParametricGeometry whose parametric function domain spans [0,1]²
param_triangle = _ParametricGeometry(_parametric(triangle), 2)
param_triangle = _ParametricGeometry(_parametric(triangle), Meshes.paramdim(triangle))

# Integrate the _ParametricGeometry using the standard methods
return _integral(f, param_triangle, rule; kwargs...)
Expand Down

0 comments on commit 29346fa

Please sign in to comment.