diff --git a/test/poly.jl b/test/poly.jl index a7160fa..d6df7f0 100644 --- a/test/poly.jl +++ b/test/poly.jl @@ -165,10 +165,10 @@ isdefined(Main, :sve_logistic) || include("_conftest.jl") l = 3 pwlp = SparseIR.PiecewiseLegendrePoly(data, knots, l) - ∫pwlp, ∫pwlp_err = (0.4934184996836404, 8.326672684688674e-17) + ∫pwlp, ∫pwlp_err = (0.4934184996836403, 2.7755575615628914e-17) @test overlap(pwlp, identity) ≈ ∫pwlp - @test overlap(pwlp, identity, return_error=true) .≈ (∫pwlp, ∫pwlp_err) + @test all(overlap(pwlp, identity, return_error=true) .≈ (∫pwlp, ∫pwlp_err)) end @testset "roots(poly::PiecewiseLegendrePoly; tol=1e-10, alpha=Val(2))" begin