Skip to content

Commit

Permalink
Boreholes can have negative tilt
Browse files Browse the repository at this point in the history
  • Loading branch information
MassimoCimmino committed Nov 28, 2024
1 parent 59e0d99 commit 6027e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygfunction/borefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(

# Identify tilted boreholes
self._is_tilted = np.broadcast_to(
np.greater(tilt, 1e-6),
np.greater(np.abs(tilt), 1e-6),
self.nBoreholes)
# Vertical boreholes default to an orientation of zero
if not np.any(self._is_tilted):
Expand Down

0 comments on commit 6027e42

Please sign in to comment.