Skip to content

Commit 6405f96

Browse files
committed
Add some tolerance margin in failing test
1 parent 0063063 commit 6405f96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/b-splines/mixed.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ for (constructor, copier) in ((interpolate, x->x), (interpolate!, copy))
1313
@test @inferred(size(itp_b)) == size(A2)
1414

1515
for j = 2:N-1, i = 2:N-1
16-
@test_approx_eq itp_a[i,j] A2[i,j]
17-
@test_approx_eq itp_b[i,j] A2[i,j]
16+
@test_approx_eq_eps itp_a[i,j] A2[i,j] sqrt(eps(A2[i,j]))
17+
@test_approx_eq_eps itp_b[i,j] A2[i,j] sqrt(eps(A2[i,j]))
1818
end
1919

2020
for i = 1:10

0 commit comments

Comments
 (0)