Skip to content

Commit 78105ad

Browse files
author
gmartinonQM
committed
small changes
1 parent 0e18627 commit 78105ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mapie/estimators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ def _check_cv(
293293
if cv >= 2:
294294
return KFold(n_splits=cv)
295295
if (
296-
isinstance(cv, KFold) or
297-
isinstance(cv, LeaveOneOut) or
298-
cv == "prefit"
296+
isinstance(cv, KFold)
297+
or isinstance(cv, LeaveOneOut)
298+
or cv == "prefit"
299299
):
300300
return cv
301301
raise ValueError(

0 commit comments

Comments
 (0)