Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 46aa07d

Browse files
ajozefiakChrisRackauckas
authored andcommitted
error tolerance increased on one test
1 parent 9fb4f51 commit 46aa07d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/2D_3D_fast_multiplication.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,8 @@ end
10021002
M_temp = zeros(N,N,N+2)
10031003
mul!(M_temp, A, M)
10041004

1005-
@test_broken M_temp ((Lx2*M)[1:N,2:N+1,:]+(Ly2*M)[2:N+1,1:N,:]+(Lx3*M)[1:N,2:N+1,:] +(Ly3*M)[2:N+1,1:N,:] + (Lx4*M)[1:N,2:N+1,:] +(Ly4*M)[2:N+1,1:N,:])
1005+
# Numerical errors accumulating for this test case, more so than the other tests
1006+
@test isapprox(M_temp, ((Lx2*M)[1:N,2:N+1,:]+(Ly2*M)[2:N+1,1:N,:]+(Lx3*M)[1:N,2:N+1,:] +(Ly3*M)[2:N+1,1:N,:] + (Lx4*M)[1:N,2:N+1,:] +(Ly4*M)[2:N+1,1:N,:]), rtol = sqrt(length(M_temp)*eps(Float64)))
10061007

10071008
# Test multiple operators on two axis: (Lxx + Lzz + Lxxx + Lzzz + Lxxxx + Lzzzz)*M, no coefficient
10081009
A = Lx2 + Lz2 + Lx3 + Lz3 + Lx4 + Lz4

0 commit comments

Comments
 (0)