We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8e1e3d commit 9a0cf85Copy full SHA for 9a0cf85
1 file changed
pvlib/ivtools/utils.py
@@ -585,7 +585,7 @@ def _lambertw_pvlib(x):
585
'''
586
localx = np.asarray(x, float)
587
w = np.full_like(localx, np.nan)
588
- small = localx <= 10
+ small = localx <= 100
589
# for large x, solve 0 = f(w) = w + log(w) - log(x) using Newton's
590
# w will contain nan for these numbers due to log(w) = log(log(x))
591
w[~small] = _log_lambertw(np.log(localx[~small]))
0 commit comments