Skip to content

Commit 2f1ff05

Browse files
Deleted spurious stops
1 parent 812faec commit 2f1ff05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/BayesianOptimization.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ BayesianOptimization <- function(
320320
, convThresh = convThresh
321321
)
322322

323-
if (sum(LocalOptims$gradCount > 2) == 0) stop("\n 2a) WARNING - No initial points converged.\n Process may just be sampling random points.\n Try decreasing convThresh.")
323+
if (sum(LocalOptims$gradCount > 2) == 0) cat("\n 2a) WARNING - No initial points converged.\n Process may just be sampling random points.\n Try decreasing convThresh.")
324324

325325
fromCluster <- applyCluster()
326326
acqMaximums <- rbind(acqMaximums, data.table("Iteration" = Iter, fromCluster$clusterPoints))

0 commit comments

Comments
 (0)