fix a bug in node sindex set

This commit is contained in:
Tianqi Chen 2014-11-23 22:35:30 -08:00
parent 3e162ceda6
commit f805ecb5f3

View File

@ -70,6 +70,7 @@ class TreeModel {
/*! \brief tree node */
class Node {
public:
Node(void) : sindex_(0) {}
/*! \brief index of left child */
inline int cleft(void) const {
return this->cleft_;