Skip to content

Commit

Permalink
Use all
Browse files Browse the repository at this point in the history
  • Loading branch information
terasakisatoshi committed Nov 12, 2024
1 parent 60d0c68 commit 80f3ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/poly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80f3ca6

Please sign in to comment.