[mlpack] 253/324: Fix out-of-order initialization warnings.
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Sun Aug 17 08:22:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch svn-trunk
in repository mlpack.
commit 470a5e59e66151a6625762e82f0ddd312de51c95
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Fri Aug 1 16:18:33 2014 +0000
Fix out-of-order initialization warnings.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16932 9d5b8971-822b-0410-80eb-d18c1038ef23
---
src/mlpack/core/arma_extend/Mat_extra_meat.hpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mlpack/core/arma_extend/Mat_extra_meat.hpp b/src/mlpack/core/arma_extend/Mat_extra_meat.hpp
index 89a15b6..0161d05 100644
--- a/src/mlpack/core/arma_extend/Mat_extra_meat.hpp
+++ b/src/mlpack/core/arma_extend/Mat_extra_meat.hpp
@@ -5,7 +5,7 @@
template<typename eT>
inline
Mat<eT>::const_row_col_iterator::const_row_col_iterator()
- : M(NULL), current_pos(NULL), internal_row(0), internal_col(0)
+ : M(NULL), current_pos(NULL), internal_col(0), internal_row(0)
{
// Technically this iterator is invalid (it may not point to a real element)
}
@@ -38,7 +38,7 @@ Mat<eT>::const_row_col_iterator::const_row_col_iterator(const row_iterator& it)
template<typename eT>
inline
Mat<eT>::const_row_col_iterator::const_row_col_iterator(const Mat<eT>& in_M, const uword row, const uword col)
- : M(&in_M), current_pos(&in_M(row,col)), internal_row(row), internal_col(col)
+ : M(&in_M), current_pos(&in_M(row,col)), internal_col(col), internal_row(row)
{
// Nothing to do.
}
@@ -190,7 +190,7 @@ Mat<eT>::const_row_col_iterator::operator!=(const row_iterator& rhs) const
template<typename eT>
inline
Mat<eT>::row_col_iterator::row_col_iterator()
- : M(NULL), current_pos(NULL), internal_row(0), internal_col(0)
+ : M(NULL), current_pos(NULL), internal_col(0), internal_row(0)
{
// Technically this iterator is invalid (it may not point to a real element)
}
@@ -207,7 +207,7 @@ Mat<eT>::row_col_iterator::row_col_iterator(const row_iterator& it)
template<typename eT>
inline
Mat<eT>::row_col_iterator::row_col_iterator(Mat<eT>& in_M, const uword row, const uword col)
- : M(&in_M), current_pos(&in_M(row,col)), internal_row(row), internal_col(col)
+ : M(&in_M), current_pos(&in_M(row,col)), internal_col(col), internal_row(row)
{
// Nothing to do.
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list