From 561e51871ee2e50a4f8361799ed0fae2401b5c0d Mon Sep 17 00:00:00 2001 From: tqchen Date: Wed, 17 Jun 2015 21:00:34 -0700 Subject: [PATCH] ok --- src/io/simple_fmatrix-inl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/simple_fmatrix-inl.hpp b/src/io/simple_fmatrix-inl.hpp index af5b31321..1d704c4f8 100644 --- a/src/io/simple_fmatrix-inl.hpp +++ b/src/io/simple_fmatrix-inl.hpp @@ -39,7 +39,7 @@ class FMatrixS : public IFMatrix { /*! \brief get number of colmuns */ virtual size_t NumCol(void) const { utils::Check(this->HaveColAccess(), "NumCol:need column access"); - return col_size_.size() - 1; + return col_size_.size(); } /*! \brief get number of buffered rows */ virtual const std::vector &buffered_rowset(void) const {