fix build in MSVC 2013 (#1757)

This commit is contained in:
wl2776 2016-11-10 23:34:30 +03:00 committed by Tianqi Chen
parent e3a7f85f15
commit 6b5a23ccd5

View File

@ -682,7 +682,7 @@ XGB_DLL int XGBoosterDumpModel(BoosterHandle handle,
int with_stats,
xgboost::bst_ulong* len,
const char*** out_models) {
XGBoosterDumpModelEx(handle, fmap, with_stats, "text", len, out_models);
return XGBoosterDumpModelEx(handle, fmap, with_stats, "text", len, out_models);
}
XGB_DLL int XGBoosterDumpModelEx(BoosterHandle handle,
const char* fmap,
@ -709,7 +709,7 @@ XGB_DLL int XGBoosterDumpModelWithFeatures(BoosterHandle handle,
int with_stats,
xgboost::bst_ulong* len,
const char*** out_models) {
XGBoosterDumpModelExWithFeatures(handle, fnum, fname, ftype, with_stats,
return XGBoosterDumpModelExWithFeatures(handle, fnum, fname, ftype, with_stats,
"text", len, out_models);
}
XGB_DLL int XGBoosterDumpModelExWithFeatures(BoosterHandle handle,