Skip to content

Commit 9a0cf85

Browse files
committed
small < 100
1 parent b8e1e3d commit 9a0cf85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pvlib/ivtools/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def _lambertw_pvlib(x):
585585
'''
586586
localx = np.asarray(x, float)
587587
w = np.full_like(localx, np.nan)
588-
small = localx <= 10
588+
small = localx <= 100
589589
# for large x, solve 0 = f(w) = w + log(w) - log(x) using Newton's
590590
# w will contain nan for these numbers due to log(w) = log(log(x))
591591
w[~small] = _log_lambertw(np.log(localx[~small]))

0 commit comments

Comments
 (0)