Skip to content

Commit 29b1f86

Browse files
authored
fix typos in #2229 (#2236)
1 parent 4cfda4a commit 29b1f86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/sphinx/source/whatsnew/v0.11.2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Enhancements
1515
Documentation
1616
~~~~~~~~~~~~~
1717
* Edited docstrings for :py:func:`~pvlib.pvsystem.dc_ohms_from_percent` and
18-
:py:func:`~pvlib.pvsystem.dc_ohmic_loss` for clarity. (:issue:`1601`, :pull:`2229`)
18+
:py:func:`~pvlib.pvsystem.dc_ohmic_losses` for clarity. (:issue:`1601`, :pull:`2229`)
1919

2020

2121
Testing

pvlib/pvsystem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2952,7 +2952,7 @@ def dc_ohmic_losses(resistance, current):
29522952
29532953
.. math::
29542954
2955-
L = I \times R^2
2955+
L = I^2 \times R
29562956
29572957
where :math:`I` is the current (A) and :math:`R` is the resistance of the
29582958
conductor (ohms).

0 commit comments

Comments
 (0)