From fde318716f417a1028b1543994c2a2544ae78554 Mon Sep 17 00:00:00 2001 From: tqchen Date: Sun, 25 May 2014 16:46:03 -0700 Subject: [PATCH] fix combine buffer --- tools/xgcombine_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xgcombine_buffer.cpp b/tools/xgcombine_buffer.cpp index a44118a0c..16bc12894 100644 --- a/tools/xgcombine_buffer.cpp +++ b/tools/xgcombine_buffer.cpp @@ -158,7 +158,7 @@ public: this->info.labels.push_back( label ); // push back weight if any if( fweight != NULL ){ - this->info.labels.push_back( weight ); + this->info.weights.push_back( weight ); } this->data.AddRow( findex, fvalue ); }