Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@ def sapm(effective_irradiance, temp_cell, module):
irrad_ref = 1000
# TODO: remove this warning in v0.8 after deprecation period for change in
# effective irradiance units, made in v0.7
if np.all(effective_irradiance) < 2.0:
if np.all(effective_irradiance < 2.0):
import warnings
warnings.warn('effective_irradiance inputs appear to be in suns.'
' Units changed in v0.7 from suns to W/m2',
Expand Down