File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
docs/sphinx/source/whatsnew Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Deprecations
1010
1111Enhancements
1212~~~~~~~~~~~~
13- * :pyPfunc : `~pvlib.irradiance.gti_dirint ` now raises an informative message
13+ * :py:func : `~pvlib.irradiance.gti_dirint ` now raises an informative message
1414 when input data don't include values with AOI<90 (:issue: `1342 `, :pull: `2347 `)
1515
1616Documentation
Original file line number Diff line number Diff line change @@ -2408,7 +2408,7 @@ def _gti_dirint_check_input(aoi):
24082408
24092409 Raises Exceptions from input data that cause the algorithm to fail.
24102410 """
2411- if (aoi >= 90 ).all ():
2411+ if not (aoi < 90 ).any ():
24122412 raise ValueError ("AOI >= 90 for all input data to gti_dirint. "
24132413 "gti_dirint requires some data with AOI < 90." )
24142414
You can’t perform that action at this time.
0 commit comments