Skip to content

Commit

Permalink
use math
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse committed Jan 29, 2024
1 parent 2114c42 commit 5bcb727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvlib/irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def get_ground_diffuse(surface_tilt, ghi, albedo=.25, surface_type=None):
.. math::
G_{ground} = GHI \times \rho \times \frac{1 - \cos \beta}{2}
G_{ground} = GHI \times \rho \times \frac{1 - \cos\beta}{2}

Check failure on line 561 in pvlib/irradiance.py

View workflow job for this annotation

GitHub Actions / flake8-linter

W605 invalid escape sequence '\c'
where :math:`\rho` is albedo and :math:`\beta` is ``surface_tilt``.
Expand Down

0 comments on commit 5bcb727

Please sign in to comment.