Skip to content

Commit caa4782

Browse files
committed
Fix partial match of split.values
1 parent b12b602 commit caa4782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/forde.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ forde <- function(
208208
left_child <- arf$forest$child.nodeIDs[[tree]][[1]][i] + 1L
209209
right_child <- arf$forest$child.nodeIDs[[tree]][[2]][i] + 1L
210210
splitvarID <- arf$forest$split.varIDs[[tree]][i] + 1L
211-
splitval <- arf$forest$split.value[[tree]][i]
211+
splitval <- arf$forest$split.values[[tree]][i]
212212
if (left_child > 1) {
213213
ub[left_child, ] <- ub[right_child, ] <- ub[i, ]
214214
lb[left_child, ] <- lb[right_child, ] <- lb[i, ]

0 commit comments

Comments
 (0)