Skip to content

Commit 32206d7

Browse files
committed
Rename tool function
1 parent c09f586 commit 32206d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ Additional functions used in the windpowerlib.
104104
.. autosummary::
105105
:toctree: temp/
106106

107-
tools.select_closer_value
107+
tools.smallest_difference

windpowerlib/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import collections
1111

1212

13-
def select_closer_value(value_1, value_2, comp_value, corresp_1, corresp_2):
13+
def smallest_difference(value_1, value_2, comp_value, corresp_1, corresp_2):
1414
r"""
1515
Selects the value with the smaller difference to a comparative value.
1616

0 commit comments

Comments
 (0)