Skip to content

Commit a26a7fd

Browse files
committed
chore: partial match
1 parent 57b132d commit a26a7fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/OptimizerAsync.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ optimize_async_default = function(instance, optimizer, design = NULL, n_workers
155155
# move queued and running tasks to failed
156156
failed_tasks = c(rush$queued_tasks, rush$running_tasks)
157157
if (length(failed_tasks)) {
158-
rush$push_failed(failed_tasks, condition = replicate(length(failed_tasks), list(message = "Optimization terminated"), simplify = FALSE))
158+
rush$push_failed(failed_tasks, conditions = replicate(length(failed_tasks), list(message = "Optimization terminated"), simplify = FALSE))
159159
}
160160

161161

0 commit comments

Comments
 (0)