Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterpeere committed Jan 20, 2025
1 parent 8622772 commit dc98268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GHEtool/Borefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ def borefield(self, borefield: list[gt.boreholes.Borehole] = None) -> None:
self.r_b = np.average([bor.r_b for bor in borefield])
self._H = np.average([bor.H for bor in borefield])
self.avg_tilt = np.average([bor.tilt for bor in borefield])
# if not np.isclose(self.avg_tilt, 0):
self.gfunction_calculation_object.options['method'] = 'similarities'
if not np.isclose(self.avg_tilt, 0):
self.gfunction_calculation_object.options['method'] = 'similarities'
self.gfunction_calculation_object.remove_previous_data()
unequal_length = np.any([bor.H != borefield[0].H for bor in borefield])
if unequal_length:
Expand Down

0 comments on commit dc98268

Please sign in to comment.