Skip to content

Commit dac36c2

Browse files
authored
Merge pull request #137 from sot/fix-np-float
Change np.float to float
2 parents c2f16f3 + 34169ca commit dac36c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xija/component/heat/solar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def __init__(
612612
self.dPs = (
613613
np.zeros_like(self.dP_pitches)
614614
if dPs is None
615-
else np.array(dPs, dtype=np.float)
615+
else np.array(dPs, dtype=float)
616616
)
617617
for i, instr_name in enumerate(self.instr_names):
618618
for j, pitch in enumerate(self.P_pitches):

0 commit comments

Comments
 (0)