Skip to content

Commit

Permalink
allow more than 256 input variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bendavid committed Apr 1, 2014
1 parent 20836b5 commit 8acc25b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions interface/HybridGBRTreeD.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
std::vector<double> &Responses() { return fResponses; }
const std::vector<double> &Responses() const { return fResponses; }

std::vector<unsigned char> &CutIndices() { return fCutIndices; }
const std::vector<unsigned char> &CutIndices() const { return fCutIndices; }
std::vector<unsigned short> &CutIndices() { return fCutIndices; }
const std::vector<unsigned short> &CutIndices() const { return fCutIndices; }

std::vector<float> &CutVals() { return fCutVals; }
const std::vector<float> &CutVals() const { return fCutVals; }
Expand All @@ -59,7 +59,7 @@
const std::vector<std::vector<std::pair<float,float> > > &Limits() const { return fLimits; }

protected:
std::vector<unsigned char> fCutIndices;
std::vector<unsigned short> fCutIndices;
std::vector<float> fCutVals;
std::vector<int> fLeftIndices;
std::vector<int> fRightIndices;
Expand All @@ -68,7 +68,7 @@

private:

ClassDef(HybridGBRTreeD,2)
ClassDef(HybridGBRTreeD,3)

};

Expand Down

0 comments on commit 8acc25b

Please sign in to comment.