diff --git a/R/PipeOpSmote.R b/R/PipeOpSmote.R index 1c145cf44..a083ae43d 100644 --- a/R/PipeOpSmote.R +++ b/R/PipeOpSmote.R @@ -90,7 +90,6 @@ PipeOpSmote = R6Class("PipeOpSmote", cols = private$.select_cols(task) if (!length(cols)) { - self$state = list(dt_columns = cols) return(task) } dt = task$data(cols = cols)