Skip to content

Commit

Permalink
Drop leaving zero
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 Nov 25, 2024
1 parent 7dde572 commit a57c254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/specializations/Plane.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function integral(
# Create a wrapper that returns only the value component in those units
uintegrand(uv) = Unitful.ustrip.(integrandunits, integrand(uv))
# Integrate only the unitless values
a = 0 .- _ones(FP, 2)
a = .- _ones(FP, 2)
b = _ones(FP, 2)
value = HCubature.hcubature(uintegrand, a, b; rule.kwargs...)[1]

Expand Down

0 comments on commit a57c254

Please sign in to comment.