Skip to content

Commit 263b452

Browse files
authored
fix contains_bbox, set dont_assert (#216)
* fix contains_bbox, set dont_assert
1 parent 9f1197e commit 263b452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wkcuber/api/bounding_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def contains(self, coord: Shape3D) -> bool:
208208
)
209209

210210
def contains_bbox(self, inner_bbox: "BoundingBox") -> bool:
211-
return inner_bbox.intersected_with(self) == inner_bbox
211+
return inner_bbox.intersected_with(self, dont_assert=True) == inner_bbox
212212

213213
def chunk(
214214
self, chunk_size: Shape3D, chunk_border_alignments: Optional[List[int]] = None

0 commit comments

Comments
 (0)