From 19134c34c6b0f45b5c95455818548a6d5493fc78 Mon Sep 17 00:00:00 2001 From: mb706 Date: Thu, 15 Aug 2024 14:33:21 +0200 Subject: [PATCH] fix --- R/ParamSetCollection.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/ParamSetCollection.R b/R/ParamSetCollection.R index 239bb9a7..ffc8c61f 100644 --- a/R/ParamSetCollection.R +++ b/R/ParamSetCollection.R @@ -384,10 +384,10 @@ ParamSetCollection = R6Class("ParamSetCollection", inherit = ParamSet, .sets = NULL, .translation = data.table(id = character(0), original_id = character(0), owner_ps_index = integer(0), owner_name = character(0), key = "id"), .children_with_trafos = function() { - which(!map_lgl(map(sets, "extra_trafo"), is.null)) + which(!map_lgl(map(private$.sets, "extra_trafo"), is.null)) }, .children_with_constraints = function() { - which(!map_lgl(map(sets, "constraint"), is.null)) + which(!map_lgl(map(private$.sets, "constraint"), is.null)) }, .extra_trafo_explicit = function(x) { children_with_trafos = private$.children_with_trafos()