diff --git a/test/combinations.jl b/test/combinations.jl index 26f4fdcf..4649e437 100644 --- a/test/combinations.jl +++ b/test/combinations.jl @@ -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) @@ -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