From 749364f25d7edb02676c793991f1345d3ee0beee Mon Sep 17 00:00:00 2001 From: hzy001 Date: Wed, 16 Dec 2020 14:56:13 +0800 Subject: [PATCH] Update the C API comments (#6457) Signed-off-by: Hao Ziyu Co-authored-by: Hao Ziyu --- include/xgboost/c_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xgboost/c_api.h b/include/xgboost/c_api.h index 95f984285..dcc02fae2 100644 --- a/include/xgboost/c_api.h +++ b/include/xgboost/c_api.h @@ -98,7 +98,7 @@ XGB_DLL int XGDMatrixCreateFromFile(const char *fname, * \param data fvalue * \param nindptr number of rows in the matrix + 1 * \param nelem number of nonzero elements in the matrix - * \param num_col number of columns; when it's set to 0, then guess from data + * \param num_col number of columns; when it's set to kAdapterUnknownSize, then guess from data * \param out created dmatrix * \return 0 when success, -1 when failure happens */