Skip to content

Commit 35fc553

Browse files
committed
remove outdated assertion
1 parent f7db1aa commit 35fc553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/checkStuff.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ checkStuff = function(fun, design, learner, control) {
9090
if (length(control$save.on.disk.at) > 0L && (control$iters + 1) %nin% control$save.on.disk.at)
9191
warningf("You turned off the final saving of the optimization result at (iter + 1)! Do you really want this?")
9292
if (length(control$save.on.disk.at) > 0 || is.finite(control$save.on.disk.at.time)) {
93-
control$save.on.disk.at = asInteger(control$save.on.disk.at, any.missing = FALSE, lower = 0 , upper = control$iters + 1)
93+
control$save.on.disk.at = asInteger(control$save.on.disk.at, any.missing = FALSE, lower = 0)
9494
assertPathForOutput(control$save.file.path)
9595
}
9696
control$store.model.at = coalesce(control$store.model.at, control$iters + 1)

0 commit comments

Comments
 (0)