From 413f119c7e452def77538d121bd269f4b84a602f Mon Sep 17 00:00:00 2001 From: tqchen Date: Wed, 10 Feb 2016 11:54:49 -0800 Subject: [PATCH] Update dmlc-core --- dmlc-core | 2 +- plugin/dense_parser/dense_libsvm.cc | 1 + src/data/data.cc | 1 + src/tree/updater_histmaker.cc | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dmlc-core b/dmlc-core index 53ab0280f..0f8fd38bf 160000 --- a/dmlc-core +++ b/dmlc-core @@ -1 +1 @@ -Subproject commit 53ab0280f4c1da4fd6f9cee22ce4716f04b3e712 +Subproject commit 0f8fd38bf94e6666aa367be80195b1f2da87428c diff --git a/plugin/dense_parser/dense_libsvm.cc b/plugin/dense_parser/dense_libsvm.cc index 45153c64b..31d374af0 100644 --- a/plugin/dense_parser/dense_libsvm.cc +++ b/plugin/dense_parser/dense_libsvm.cc @@ -4,6 +4,7 @@ * \brief Plugin to load in libsvm, but fill all the missing entries with zeros. * This plugin is mainly used for benchmark purposes and do not need to be included. */ +#include #include #include diff --git a/src/data/data.cc b/src/data/data.cc index cea87c09f..65efa0f8f 100644 --- a/src/data/data.cc +++ b/src/data/data.cc @@ -9,6 +9,7 @@ #include "./sparse_batch_page.h" #include "./simple_dmatrix.h" #include "./simple_csr_source.h" +#include "../common/common.h" #include "../common/io.h" #if DMLC_ENABLE_STD_THREAD diff --git a/src/tree/updater_histmaker.cc b/src/tree/updater_histmaker.cc index fce76808a..bf3f2571e 100644 --- a/src/tree/updater_histmaker.cc +++ b/src/tree/updater_histmaker.cc @@ -651,7 +651,7 @@ class GlobalProposalHistMaker: public CQHistMaker { DMatrix *p_fmat, const std::vector &fset, const RegTree &tree) override { - if (this->qexpand.size() == 1 && !this->param.cache_global_proposal) { + if (this->qexpand.size() == 1) { cached_rptr_.clear(); cached_cut_.clear(); }