From f8ce8899bdda4b2fc6b4000467a4deac63cc7c62 Mon Sep 17 00:00:00 2001 From: Jianfeng Zhu Date: Thu, 23 Apr 2015 14:21:05 +0800 Subject: [PATCH] Update data.h Fix a minor typo, which may cause unnecessary confusion. --- src/data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }