Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold authored Dec 5, 2024
1 parent b8decd5 commit 452278b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ end
ux = ustrip(p.coords.x)
(1 / sqrt(1 + cos(ux)^2)) * u"Ω"
end
fv(p) = fill(f(p), 3)
sol = 2π * u"Ω*m"
vsol = fill(sol, 3)

Expand Down Expand Up @@ -179,8 +180,8 @@ end
sqrt(a^2 - t^2) * u"Ω"
end
fv(p) = fill(f(p), 3)
solution = π * a^2 / 4 * u"Ω*m"
vsol = fill(solution, 3)
sol = π * a^2 / 4 * u"Ω*m"
vsol = fill(sol, 3)

# Scalar integrand
@test integral(f, box, GaussLegendre(100))sol rtol=1e-6
Expand Down

0 comments on commit 452278b

Please sign in to comment.