diff --git a/armi/reactor/grids/hexagonal.py b/armi/reactor/grids/hexagonal.py index 262307826..95676da2f 100644 --- a/armi/reactor/grids/hexagonal.py +++ b/armi/reactor/grids/hexagonal.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. from collections import deque -from math import sqrt +from math import isclose, sqrt from typing import List, Optional, Tuple import numpy as np @@ -639,6 +639,6 @@ def _roughlyEqual(self, other) -> bool: return True return ( isinstance(other, HexGrid) - and other.pitch == self.pitch + and isclose(self.pitch, other.pitch) and other.cornersUp == self.cornersUp )