Skip to content

Commit

Permalink
Revert "refactor: make x_domain optionally"
Browse files Browse the repository at this point in the history
This reverts commit d445a64.
  • Loading branch information
be-marc committed Jul 24, 2024
1 parent d445a64 commit 75a7036
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/OptimInstanceBatch.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ OptimInstanceBatch = R6Class("OptimInstanceBatch",
xss_trafoed = transform_xdt_to_xss(private$.xdt, self$search_space)
ydt = self$objective$eval_many(xss_trafoed)
}
if (!private$.store_x_domain) xss_trafoed = NULL

self$archive$add_evals(xdt, xss_trafoed, ydt)
lg$info("Result of batch %i:", self$archive$n_batch)
Expand Down Expand Up @@ -159,7 +158,6 @@ OptimInstanceBatch = R6Class("OptimInstanceBatch",
private = list(
.xdt = NULL,
.objective_function = NULL,
.store_x_domain = TRUE,

# initialize context for optimization
.initialize_context = function(optimizer) {
Expand Down

0 comments on commit 75a7036

Please sign in to comment.