Skip to content

Commit 5957fdf

Browse files
authored
Merge pull request #55 from jemus42/fix-partial-match
Fix partial match of `$forest$split.values`
2 parents b12b602 + caa4782 commit 5957fdf

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)