Skip to content

Commit

Permalink
chore: tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Sep 6, 2024
1 parent b643f5c commit c6ae999
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/Learner.R
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,6 @@ Learner = R6Class("Learner",
warningf("The fallback learner '%s' does not have the following properties of the learner '%s': %s.",
fallback$id, self$id, str_collapse(missing_properties))
}

# check properties
} else if (method == "none" && !is.null(fallback)) {
stop("Fallback learner must be NULL if encapsulation is deactivated.")
}
Expand Down

0 comments on commit c6ae999

Please sign in to comment.