diff --git a/docs/sphinx/source/whatsnew/v0.11.1.rst b/docs/sphinx/source/whatsnew/v0.11.1.rst index 832e1a7221..7c8f01743e 100644 --- a/docs/sphinx/source/whatsnew/v0.11.1.rst +++ b/docs/sphinx/source/whatsnew/v0.11.1.rst @@ -69,6 +69,7 @@ Contributors * Mark A. Mikofski (:ghuser:`mikofski`) * Ben Pierce (:ghuser:`bgpierc`) * Jose Meza (:ghuser:`JoseMezaMendieta`) +* Luiz Reis (:ghuser:`luizreiscver`) * Carlos Cárdenas-Bravo (:ghuser:`cardenca`) * Marcos R. Escudero (:ghuser:`marc-resc`) * Bernat Nicolau (:ghuser:`BernatNicolau`) diff --git a/pvlib/singlediode.py b/pvlib/singlediode.py index a1261f3f64..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 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.