Update data.h

Fix a minor typo, which may cause unnecessary confusion.
This commit is contained in:
Jianfeng Zhu 2015-04-23 14:21:05 +08:00
parent d3af4e138f
commit f8ce8899bd

View File

@ -111,7 +111,7 @@ struct ColBatch : public SparseBatch {
const bst_uint *col_index; const bst_uint *col_index;
/*! \brief pointer to the column data */ /*! \brief pointer to the column data */
const Inst *col_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 { inline Inst operator[](size_t i) const {
return col_data[i]; return col_data[i];
} }