Skip to content

Commit 11b8344

Browse files
committed
maint: relaxed tolerance a bit
Signed-off-by: Nick Papior <[email protected]>
1 parent 04f2cf3 commit 11b8344

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sisl/shape/ellipsoid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def set_center(self, center):
123123
""" Change the center of the object """
124124
super().__init__(center)
125125

126-
def within_index(self, other, tol=1.e-12):
126+
def within_index(self, other, tol=1.e-8):
127127
r""" Return indices of the points that are within the shape
128128
129129
Parameters

sisl/shape/prism4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def toCuboid(self):
115115
""" Return a copy of itself """
116116
return self.copy()
117117

118-
def within_index(self, other, tol=1.e-12):
118+
def within_index(self, other, tol=1.e-8):
119119
""" Return indices of the `other` object which are contained in the shape
120120
121121
Parameters

0 commit comments

Comments
 (0)