Update data.h
Fix a minor typo, which may cause unnecessary confusion.
This commit is contained in:
parent
d3af4e138f
commit
f8ce8899bd
@ -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];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user