Skip to content

Commit

Permalink
Use stored length
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold authored Dec 2, 2024
1 parent 6ef39bc commit 10a2c34
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]), length(nodes))
ts = ntuple(i -> t(nodes[i]), rule.n)
# Integrand function
prod(weights) * f(geometry(ts...)) * differential(geometry, ts, diff_method)
end
Expand Down

0 comments on commit 10a2c34

Please sign in to comment.