From 659fc7b82ce1e730423ac5da0f2881d13119af6c Mon Sep 17 00:00:00 2001 From: Luiz Reis Date: Thu, 22 Aug 2024 12:23:27 -0300 Subject: [PATCH 1/3] fix a typo at the singlediode function --- pvlib/singlediode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvlib/singlediode.py b/pvlib/singlediode.py index a1261f3f64..f92e055ae9 100644 --- a/pvlib/singlediode.py +++ b/pvlib/singlediode.py @@ -632,7 +632,7 @@ def _shape_of_max_size(*args): def _prepare_newton_inputs(x0, args, method_kwargs): """ Make inputs compatible with Scipy's newton by: - - converting all arugments (`x0` and `args`) into numpy.ndarrays if any + - converting all arguments (`x0` and `args`) into numpy.ndarrays if any argument is not a scalar. - broadcasting the initial guess `x0` to the shape of the argument with the greatest size. From 58c6725ec3cf198f8516ab9a3aabd318c6b40e40 Mon Sep 17 00:00:00 2001 From: Luiz Reis Date: Thu, 22 Aug 2024 12:48:07 -0300 Subject: [PATCH 2/3] add a new colaborator name --- docs/sphinx/source/whatsnew/v0.11.1.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sphinx/source/whatsnew/v0.11.1.rst b/docs/sphinx/source/whatsnew/v0.11.1.rst index 72d480e32d..1f4d83288f 100644 --- a/docs/sphinx/source/whatsnew/v0.11.1.rst +++ b/docs/sphinx/source/whatsnew/v0.11.1.rst @@ -69,3 +69,4 @@ Contributors * Mark A. Mikofski (:ghuser:`mikofski`) * Ben Pierce (:ghuser:`bgpierc`) * Jose Meza (:ghuser:`JoseMezaMendieta`) +* Luiz Reis (:ghuser:`luizreiscver`) From 10e807eccc3a77e3fac637c3eb691dbd7d3b0aac Mon Sep 17 00:00:00 2001 From: luizreiscver <86726531+luizreiscver@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:19:11 -0300 Subject: [PATCH 3/3] Update pvlib/singlediode.py space removed Co-authored-by: Cliff Hansen --- pvlib/singlediode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvlib/singlediode.py b/pvlib/singlediode.py index f92e055ae9..e76ea8f263 100644 --- a/pvlib/singlediode.py +++ b/pvlib/singlediode.py @@ -632,7 +632,7 @@ def _shape_of_max_size(*args): def _prepare_newton_inputs(x0, args, method_kwargs): """ Make inputs compatible with Scipy's newton by: - - converting all arguments (`x0` and `args`) into numpy.ndarrays if any + - converting all arguments (`x0` and `args`) into numpy.ndarrays if any argument is not a scalar. - broadcasting the initial guess `x0` to the shape of the argument with the greatest size.