Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 committed Jan 14, 2024
1 parent 7906f47 commit e6a6a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generate_acq_codomain = function(surrogate, id, direction = "same") {

generate_acq_domain = function(surrogate) {
assert_r6(surrogate$archive, classes = "Archive")
if ("set_id" %in% names(domain)) {
if ("set_id" %in% names(ps())) {
# old paradox
domain = surrogate$archive$search_space$clone(deep = TRUE)$subset(surrogate$cols_x)
domain$trafo = NULL
Expand Down

0 comments on commit e6a6a0a

Please sign in to comment.