Skip to content

Commit 6072e09

Browse files
authored
fix invalid escape sequence '\c' (pvlib#1879)
* fix invalid escape sequence '\c' pvlib/iam.py:843: DeprecationWarning: invalid escape sequence '\c' Occurence is actually in line 854: `IAM = 1 - (1 - \cos(aoi))^5` * Add to list of contributors
1 parent b408741 commit 6072e09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Documentation
2323

2424
Contributors
2525
~~~~~~~~~~~~
26-
26+
* Arjan Keeman (:ghuser:`akeeman`)

pvlib/iam.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def schlick(aoi):
840840

841841

842842
def schlick_diffuse(surface_tilt):
843-
"""
843+
r"""
844844
Determine the incidence angle modifiers (IAM) for diffuse sky and
845845
ground-reflected irradiance on a tilted surface using the Schlick
846846
incident angle model.

0 commit comments

Comments
 (0)