Skip to content

Commit 5e6c8f3

Browse files
committed
another typo
1 parent 004107b commit 5e6c8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/spa.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,10 +1306,10 @@ def calculate_deltat(year, month):
13061306
+' are not intended to be used for these years.'
13071307

13081308
try:
1309-
if np.any((year > 3000) | (year < -500)):
1309+
if np.any((year > 3000) | (year < -1999)):
13101310
pvl_logger.warning(plw)
13111311
except ValueError:
1312-
if (year > 3000) | (year < -500):
1312+
if (year > 3000) | (year < -1999):
13131313
pvl_logger.warning(plw)
13141314

13151315
#Equations taken from http://eclipse.gsfc.nasa.gov/SEcat5/deltatpoly.html

0 commit comments

Comments
 (0)