Skip to content

Commit 7dfa3c0

Browse files
committed
No more check, do it live
1 parent abd64ff commit 7dfa3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c_api/c_api.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ XGB_DLL int XGBoosterInplacePredict(BoosterHandle handle,
10351035
p_m = *static_cast<std::shared_ptr<DMatrix> *>(dMatrixHandle);
10361036
}
10371037
auto proxy = dynamic_cast<data::DMatrixProxy *>(p_m.get());
1038-
CHECK(proxy) << "Invalid input type for inplace predict. :" << typeid(*proxy).name();
1038+
// CHECK(proxy) << "Invalid input type for inplace predict. :" << typeid(proxy).name();
10391039
auto *learner = static_cast<xgboost::Learner *>(handle);
10401040
auto iteration_end = GetIterationFromTreeLimit(ntree_limit, learner);
10411041
InplacePredictImplCore(p_m, learner, (xgboost::PredictionType)0, missing, num_rows, num_features,

0 commit comments

Comments
 (0)