Skip to content

Commit

Permalink
fix build in MSVC 2013 (dmlc#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
wl2776 authored and tqchen committed Nov 10, 2016
1 parent e3a7f85 commit 6b5a23c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/c_api/c_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 6b5a23c

Please sign in to comment.