fix build in MSVC 2013 (#1757)
This commit is contained in:
parent
e3a7f85f15
commit
6b5a23ccd5
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user