Skip to content

Commit 1484f8a

Browse files
authored
Merge pull request #209 from StochasticTree/config_update_hotfix
Fixed config update bug
2 parents 80d8a23 + e916c78 commit 1484f8a

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)