Skip to content

Commit 33cf5ff

Browse files
authored
Merge pull request #102 from Silvio-Re/master
Update obstruction.py vmin test for uninitialized
2 parents 32d054c + 64e217b commit 33cf5ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fdsreader/bndf/obstruction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def vmin(self, orientation: Literal[-3, -2, -1, 0, 1, 2, 3] = 0) -> float:
184184
"""
185185
if orientation == 0:
186186
curr_min = np.min(self.lower_bounds)
187-
if curr_min == 0.0:
187+
if curr_min == np.float32(+1e33):
188188
return float(min(np.min(p.data) for p in self._patches))
189189
return float(curr_min)
190190
else:

0 commit comments

Comments
 (0)