Skip to content

Commit

Permalink
change epsilon for unit test with julia-1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rymanderson committed Mar 23, 2024
1 parent 2ecf1fb commit 296a091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ multipole_expansion_test = [3.15347369905358e-5 0.0 0.0 0.0; 0.0 0.0 0.0 0.0;;;
expansion_order = Val{14}()
fmm._B2M!_panel(multipole_expansion, qnm_prev, jnm_prev, inm_prev, R0, Ru, Rv, strength, normal, expansion_order, fmm.UniformSourcePanel())
for i in eachindex(multipole_expansion)
@test isapprox(multipole_expansion[i], multipole_expansion_test[i]; atol=1e-12)
@test isapprox(multipole_expansion[i], multipole_expansion_test[i]; atol=1e-11)
end

# single tri panel
Expand Down

0 comments on commit 296a091

Please sign in to comment.