Fix broken make on windows (#2499)

* fix Makefile for make on windows

* clean up compilation warnings

* fix for `no file name for include` make warning
This commit is contained in:
Vadim Khotilovich
2017-07-08 11:17:31 -05:00
committed by Tianqi Chen
parent ba820847f9
commit 7350085955
3 changed files with 7 additions and 3 deletions

View File

@@ -588,7 +588,7 @@ inline bst_float RegTree::FillNodeMeanValue(int nid) {
inline void RegTree::CalculateContributions(const RegTree::FVec& feat, unsigned root_id,
bst_float *out_contribs) const {
CHECK_GT(this->node_mean_values.size(), 0);
CHECK_GT(this->node_mean_values.size(), 0U);
// this follows the idea of http://blog.datadive.net/interpreting-random-forests/
bst_float node_value;
unsigned split_index;