diff --git a/src/data.h b/src/data.h index e7a5f65d0..d1f5eb427 100644 --- a/src/data.h +++ b/src/data.h @@ -111,7 +111,7 @@ struct ColBatch : public SparseBatch { const bst_uint *col_index; /*! \brief pointer to the column data */ const Inst *col_data; - /*! \brief get i-th row from the batch */ + /*! \brief get i-th column from the batch */ inline Inst operator[](size_t i) const { return col_data[i]; }