Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mikeingold and github-actions[bot] authored Oct 6, 2024
1 parent 86d44a4 commit 8b91e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ end
sol = 4a^3 ** a^2 / 4) * u"Ω"
@test integral(f, box, GaussLegendre(100))sol rtol=1e-6
@test_throws "not supported" integral(f, box, GaussKronrod())
@test integral(f, box, HAdaptiveCubature(rtol=1e-6))sol rtol=1e-6
@test integral(f, box, HAdaptiveCubature(rtol = 1e-6))sol rtol=1e-6

# Vector integrand
vsol = fill(sol, 3)
@test integral(fv, box, GaussLegendre(100))vsol rtol=1e-6
@test_throws "not supported" integral(fv, box, GaussKronrod())
@test integral(fv, box, HAdaptiveCubature(rtol=1e-6))vsol rtol=1e-6
@test integral(fv, box, HAdaptiveCubature(rtol = 1e-6))vsol rtol=1e-6

# Integral aliases
@test_throws "not supported" lineintegral(f, box)
Expand Down

0 comments on commit 8b91e3a

Please sign in to comment.