fix a bug in node sindex set
This commit is contained in:
parent
3e162ceda6
commit
f805ecb5f3
@ -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_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user