Skip to content

Commit 3d14954

Browse files
committed
fix dtype issue
1 parent cc4a8af commit 3d14954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/spa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ def solar_position_numba(unixtime, lat, lon, elev, pressure, temp, delta_t,
924924
atmos_refract, sst, esd], dtype=np.float64)
925925

926926
# turn delta_t into an array if it isn't already
927-
delta_t = np.full_like(unixtime, delta_t)
927+
delta_t = np.full_like(unixtime, delta_t, dtype=np.float64)
928928

929929
# construct dims x ulength array to put the results in
930930
ulength = unixtime.shape[0]

0 commit comments

Comments
 (0)