Skip to content

Commit 7dd8489

Browse files
committed
add tolerance to case distinction
1 parent 8c9630c commit 7dd8489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/totalFields.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
inside(sphere::Sphere) = 0.0
3-
inside(sphere::PECSphere) = sphere.radius
3+
inside(sphere::PECSphere) = sphere.radius - 1e-15
44

55

66
"""

0 commit comments

Comments
 (0)