Skip to content

Commit

Permalink
Change np.float to float
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Mar 19, 2024
1 parent c2f16f3 commit 34169ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xija/component/heat/solar.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def __init__(
self.dPs = (
np.zeros_like(self.dP_pitches)
if dPs is None
else np.array(dPs, dtype=np.float)
else np.array(dPs, dtype=float)
)
for i, instr_name in enumerate(self.instr_names):
for j, pitch in enumerate(self.P_pitches):
Expand Down

0 comments on commit 34169ca

Please sign in to comment.