Skip to content

Commit 5a08ff8

Browse files
committed
proxy to stuff
1 parent 823c92f commit 5a08ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/c_api/c_api.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,10 +1061,10 @@ XGB_DLL int XGBoosterInplacePredict(BoosterHandle handle,
10611061
if (!stuff) {
10621062
fprintf (stderr, "stuff is null");
10631063
exit(1);
1064-
}
1064+
}
10651065
auto *learner = static_cast<xgboost::Learner *>(handle);
10661066
auto iteration_end = GetIterationFromTreeLimit(ntree_limit, learner);
1067-
proxy->SetDenseData(data)
1067+
stuff->SetDenseData(data, num_rows, num_features);
10681068
InplacePredictImplCore(p_m, learner, (xgboost::PredictionType)0, missing, num_rows, num_features,
10691069
0, iteration_end, true, len, &out_dim, out_result);
10701070
// printf("XGBoosterInplacePredict len = %u, dim = %u\n", **len, out_dim);

0 commit comments

Comments
 (0)