Skip to content

Commit

Permalink
Error when using GK rule >3D
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Oct 6, 2024
1 parent c91492c commit 0e7bd5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/integral.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ function _integral(
return _integral_gk_2d(f, geometry, rule; kwargs...)
elseif N == 3
return _integral_gk_3d(f, geometry, rule; kwargs...)
else
error("Integrating this geometry type with GaussKronrod not supported.")
end
end

Expand Down

0 comments on commit 0e7bd5b

Please sign in to comment.