Skip to content

Commit 2f55618

Browse files
authored
Merge pull request #361 from stevenhua0320/docstring-fix
fix: fix docstring to interpolate right entry.
2 parents cbf4a11 + 3dee8fa commit 2f55618

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

news/docstring-fix.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* No News Added: Fix docstring
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

src/diffpy/utils/resampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def wsinterp(x, xp, fp, left=None, right=None):
3838
The array of y values associated with xp.
3939
left: float
4040
If given, set fp for x < xp[0] to left. Otherwise, if left is None
41-
(default) or not given, set fp for x < xp[0] to fp evaluated at xp[-1].
41+
(default) or not given, set fp for x < xp[0] to fp evaluated at xp[0].
4242
right: float
4343
If given, set fp for x > xp[-1] to right. Otherwise, if right is None
4444
(default) or not given, set fp for x > xp[-1] to fp evaluated at

0 commit comments

Comments
 (0)