Skip to content

Commit a51e852

Browse files
committed
v1.0.6
1 parent bbc5957 commit a51e852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comet_maths/interpolation/interpolation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def _redo_extrapolation(
402402
:param extrapolate: extrapolation method, which can be set to "extrapolate" (in which case extrapolation is used using interpolation method defined in "method"), "nearest" (in which case nearest values are used for extrapolation), or "linear" (in which case linear extrapolation is used). Defaults to "extrapolate".
403403
:return: interpolated values with correct extrapolation
404404
"""
405-
if hasattr(x,"__len__") and len(x) > 1:
405+
if hasattr(x, "__len__") and len(x) > 1:
406406
if extrapolate == "nearest":
407407
y[x < x_i[0]] = y_i[0]
408408
y[x > x_i[-1]] = y_i[-1]

0 commit comments

Comments
 (0)