Skip to content

Commit

Permalink
Fix number, wrong N
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Dec 2, 2024
1 parent 10a2c34 commit 143442e
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 @@ -86,7 +86,7 @@ function _integral(

function integrand((weights, nodes))
# Transforms nodes/xs, store in an NTuple
ts = ntuple(i -> t(nodes[i]), rule.n)
ts = ntuple(i -> t(nodes[i]), N)
# Integrand function
prod(weights) * f(geometry(ts...)) * differential(geometry, ts, diff_method)
end
Expand Down

0 comments on commit 143442e

Please sign in to comment.