Skip to content

Commit

Permalink
Correcting numerical error in low-frequency halfspace test
Browse files Browse the repository at this point in the history
  • Loading branch information
pivaps committed Mar 7, 2024
1 parent 4419e01 commit 96e38f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/acoustics-3D/Two-media/planar-symmetry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ end

Reffs = [reflection_coefficient(w, source, material) for w in wavemodes]

@test abs(Reffs[1] - Rlows[1]) / abs(Rlows[1]) < 0.01
@test norm(Reffs - Rlows) / norm(Rlows) < 0.1
@test abs(Reffs[1] - Rlows[1]) / abs(Rlows[1]) < 0.0001
@test norm(Reffs - Rlows) / norm(Rlows) < 0.005
end

0 comments on commit 96e38f4

Please sign in to comment.