From b3ff7f26e37675a193cccbb5b6f2a49a35b22b91 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Fri, 14 Apr 2023 14:06:15 +0100 Subject: [PATCH] removed commented out code --- openmc/bounding_box.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openmc/bounding_box.py b/openmc/bounding_box.py index 081893797..e9f225fe1 100644 --- a/openmc/bounding_box.py +++ b/openmc/bounding_box.py @@ -32,10 +32,6 @@ class BoundingBox(tuple): @property def center(self): """The center x, y, z coordinates of the bounding box""" - # x_center = (self.corners[0][0] - self.corners[1][0]) / 2 - # y_center = (self.corners[0][1] - self.corners[1][1]) / 2 - # z_center = (self.corners[0][2] - self.corners[1][2]) / 2 - # return np.array([x_center, y_center, z_center]) return (self.corners[0] + self.corners[1]) / 2 @property