From 0bcf3d1e1aa96d04984bb69216a026e40b524207 Mon Sep 17 00:00:00 2001 From: Josh Bendavid Date: Wed, 7 May 2014 12:12:07 -0400 Subject: [PATCH] restore legacy-compatible dataformat --- interface/HybridGBRTreeD.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/interface/HybridGBRTreeD.h b/interface/HybridGBRTreeD.h index 697ba0b..5608411 100644 --- a/interface/HybridGBRTreeD.h +++ b/interface/HybridGBRTreeD.h @@ -43,8 +43,8 @@ std::vector &Responses() { return fResponses; } const std::vector &Responses() const { return fResponses; } - std::vector &CutIndices() { return fCutIndices; } - const std::vector &CutIndices() const { return fCutIndices; } + std::vector &CutIndices() { return fCutIndices; } + const std::vector &CutIndices() const { return fCutIndices; } std::vector &CutVals() { return fCutVals; } const std::vector &CutVals() const { return fCutVals; } @@ -59,7 +59,7 @@ const std::vector > > &Limits() const { return fLimits; } protected: - std::vector fCutIndices; + std::vector fCutIndices; std::vector fCutVals; std::vector fLeftIndices; std::vector fRightIndices; @@ -68,7 +68,7 @@ private: - ClassDef(HybridGBRTreeD,3) + ClassDef(HybridGBRTreeD,2) }; @@ -78,7 +78,7 @@ inline int HybridGBRTreeD::TerminalIndex(const float* vector) const { int index = 0; - unsigned short cutindex = fCutIndices[0]; + unsigned char cutindex = fCutIndices[0]; float cutval = fCutVals[0]; while (true) {