Skip to content

Commit

Permalink
[195_introduction_chap5], issue #195, Update of check_temperature met…
Browse files Browse the repository at this point in the history
…hod.
  • Loading branch information
Sami Amestas committed Sep 4, 2024
1 parent 712f8ad commit 9cd4fea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lbh15/_lbh15.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,6 @@ def check_temperature(self, T: float) -> Tuple[bool, str]:
to the temperature check
"""
# Manage acceptable value
if np.isnan(T):
return True, ""
if self.T_m0 < T < self.T_b0:
return True, ""
# Manage value outside the acceptable range
Expand Down

0 comments on commit 9cd4fea

Please sign in to comment.