Skip to content

Commit 962f2a9

Browse files
committed
fix: label and man
1 parent 0cba07b commit 962f2a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

R/AcqFunction.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ AcqFunction = R6Class("AcqFunction",
4747
check_packages_installed(packages, msg = sprintf("Package '%%s' required but not installed for acquisition function '%s'", sprintf("<%s:%s>", "AcqFunction", id)))
4848
}
4949
private$.requires_predict_type_se = assert_flag(requires_predict_type_se)
50-
private$.label = assert_string(label, na.ok = TRUE)
51-
private$.man = assert_string(man, na.ok = TRUE)
5250
private$.packages = packages
5351
self$direction = assert_choice(direction, c("same", "minimize", "maximize"))
5452
if (is.null(surrogate)) {
@@ -64,7 +62,7 @@ AcqFunction = R6Class("AcqFunction",
6462
self$surrogate_max_to_min = surrogate_mult_max_to_min(surrogate)
6563
domain = generate_acq_domain(surrogate)
6664
}
67-
super$initialize(id = id, domain = domain, codomain = codomain, constants = constants)
65+
super$initialize(id = id, domain = domain, codomain = codomain, constants = constants, label = label, man = man)
6866
},
6967

7068
#' @description

0 commit comments

Comments
 (0)