Skip to content

Commit 5fd4ae1

Browse files
committed
Fixed forest R / C++ interface bug
1 parent ade3903 commit 5fd4ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/forest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ Forest <- R6::R6Class(
785785
#' Return constant leaf status of trees in a `Forest` object
786786
#' @return `TRUE` if leaves are constant, `FALSE` otherwise
787787
is_constant_leaf = function() {
788-
return(is_leaf_constant_forest_container_cpp(self$forest_ptr))
788+
return(is_leaf_constant_active_forest_cpp(self$forest_ptr))
789789
},
790790

791791
#' @description

0 commit comments

Comments
 (0)