diff --git a/fdsreader/bndf/obstruction.py b/fdsreader/bndf/obstruction.py index a8aa05e..d9ba6a4 100644 --- a/fdsreader/bndf/obstruction.py +++ b/fdsreader/bndf/obstruction.py @@ -184,7 +184,7 @@ def vmin(self, orientation: Literal[-3, -2, -1, 0, 1, 2, 3] = 0) -> float: """ if orientation == 0: curr_min = np.min(self.lower_bounds) - if curr_min == 0.0: + if curr_min == np.float32(+1e33): return float(min(np.min(p.data) for p in self._patches)) return float(curr_min) else: