From 50326b24d27ef0cc45c2d07686db4f50bbdb9ff3 Mon Sep 17 00:00:00 2001 From: Josh Bendavid Date: Mon, 5 May 2014 00:14:11 +0200 Subject: [PATCH] fix bug at application time when more than 256 input variables --- interface/HybridGBRTreeD.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/HybridGBRTreeD.h b/interface/HybridGBRTreeD.h index a9dd69a..697ba0b 100644 --- a/interface/HybridGBRTreeD.h +++ b/interface/HybridGBRTreeD.h @@ -78,7 +78,7 @@ inline int HybridGBRTreeD::TerminalIndex(const float* vector) const { int index = 0; - unsigned char cutindex = fCutIndices[0]; + unsigned short cutindex = fCutIndices[0]; float cutval = fCutVals[0]; while (true) {