Skip to content

Commit

Permalink
Fix prediction.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Aug 25, 2020
1 parent 7e5f67e commit d86f917
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/predictor/gpu_predictor.cu
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ __device__ float GetLeafWeight(bst_uint ridx, const RegTree::Node* tree,
nidx = n.RightChild();
}
}
n = tree[nidx];
}
return tree[nidx].LeafValue();
}
Expand Down

0 comments on commit d86f917

Please sign in to comment.