Skip to content

Commit 82cb0f6

Browse files
removed obsolete comment block
1 parent 18f0fa7 commit 82cb0f6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

climada/util/interpolation.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ def interpolate_ev(
7777
interpolated values y_test for the test points x_test
7878
"""
7979

80-
# # check if inputs are valid
81-
# if method not in ['interpolate', 'stepfunction']:
82-
# raise ValueError(f'Unknown method: {method}. Use "interpolate" or "stepfunction" instead')
83-
# if method == 'stepfunction': # x_scale and y_scale unnecessary if fitting stepfunction
84-
# x_scale, y_scale = None, None
85-
8680
# preprocess interpolation data
8781
x_test, x_train, y_train = _preprocess_interpolation_data(
8882
x_test, x_train, y_train, x_scale, y_scale, x_threshold, y_threshold

0 commit comments

Comments
 (0)