Skip to content

Commit a357465

Browse files
committed
stickler code quality pvlib#2
1 parent 201e2b0 commit a357465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/irradiance.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ def _dirint_coeffs(kt_prime, solar_zenith, w, delta_kt_prime):
16781678
# subtract 1 to account for difference between MATLAB-style bin
16791679
# assignment and Python-style array lookup.
16801680
dirint_coeffs = coeffs[kt_prime_bin - 1, zenith_bin - 1,
1681-
delta_kt_prime_bin - 1, w_bin - 1]
1681+
delta_kt_prime_bin - 1, w_bin - 1]
16821682

16831683
# convert unassigned bins to 1, instead of putting nan originally
16841684
# whenever the dirint coeff is not known

0 commit comments

Comments
 (0)