Skip to content

Commit f1840c0

Browse files
authored
Lower tolerances and resolve #21
1 parent aed4120 commit f1840c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/PDETest.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ using ApproxFunBase, ApproxFunOrthogonalPolynomials, LinearAlgebra, Test
219219

220220
@test norm((Dirichlet(d)*u-ones((d))).coefficients) < 1E-7
221221
@test norm((A*u-Fun([ones((d));0.])).coefficients) < 1E-7
222-
@test norm(((A*u)[2]-(Laplacian(space(u))+100I)*u).coefficients) < 1E-10
222+
@test norm(((A*u)[2]-(Laplacian(space(u))+100I)*u).coefficients) < 1E-9
223223
@test eltype(ApproxFunBase.promotedomainspace(Laplacian(),space(u))) == Float64
224224
@test eltype(ApproxFunBase.promotedomainspace(Laplacian()+100I,space(u))) == Float64
225-
@test norm(((A*u)[2]-(Laplacian()+100I)*u).coefficients) < 1E-10
226-
@test norm((Laplacian()*u+100*u - (A*u)[2]).coefficients) < 10E-10
225+
@test norm(((A*u)[2]-(Laplacian()+100I)*u).coefficients) < 1E-8
226+
@test norm((Laplacian()*u+100*u - (A*u)[2]).coefficients) < 1E-8
227227
@time v=\(A,[ones((d));0.];tolerance=1E-7)
228228
@test norm((u-v).coefficients) < 100eps()
229229

0 commit comments

Comments
 (0)