Skip to content

Commit de82003

Browse files
committed
float not int
1 parent 6e794cd commit de82003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/pvsystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ def get_irradiance(self, solar_zenith, solar_azimuth, dni, ghi, dhi,
11401140
dni_extra = irradiance.get_extra_radiation(solar_zenith.index)
11411141
else:
11421142
# use the solar constant
1143-
dni_extra = 1367
1143+
dni_extra = 1367.0
11441144

11451145
if airmass is None:
11461146
airmass = atmosphere.get_relative_airmass(solar_zenith)

0 commit comments

Comments
 (0)