Skip to content

Commit e916c78

Browse files
committed
Fixed config update bug
1 parent 80d8a23 commit e916c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/config.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ ForestModelConfig <- R6::R6Class(
275275
"`leaf_model_scale` must be positive, if provided as scalar"
276276
)
277277
}
278-
self$leaf_model_scale <- diag(leaf_model_scale, leaf_dimension)
278+
self$leaf_model_scale <- diag(leaf_model_scale, self$leaf_dimension)
279279
}
280280
},
281281

0 commit comments

Comments
 (0)