Skip to content

Commit

Permalink
compatibility: rush 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Dec 10, 2024
1 parent 754de5f commit 702b2da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/OptimizerAsync.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ optimize_async_default = function(instance, optimizer, design = NULL, n_workers
worker_loop = bbotk_worker_loop,
packages = c(optimizer$packages, "bbotk"), # add packages from objective
optimizer = optimizer,
instance = instance,
wait_for_workers = TRUE)
instance = instance)
} else {
stop("No rush plan available to start local workers and no pre-started remote workers found. See `?rush::rush_plan()`.")
}
Expand Down

0 comments on commit 702b2da

Please sign in to comment.