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 */
|
/*! \brief tree node */
|
||||||
class Node {
|
class Node {
|
||||||
public:
|
public:
|
||||||
|
Node(void) : sindex_(0) {}
|
||||||
/*! \brief index of left child */
|
/*! \brief index of left child */
|
||||||
inline int cleft(void) const {
|
inline int cleft(void) const {
|
||||||
return this->cleft_;
|
return this->cleft_;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user