diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-08-20 00:58:25 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-08-20 00:58:25 +0000 |
commit | 7aba51ce530e95e062c098ab4fdbfa2de2c5d8da (patch) | |
tree | 7b76d457da52b928a7cfe1f60673145ee128742a /Eigen/src/Core/CommaInitializer.h | |
parent | c6674ab0767ce121b00389559847457e80728780 (diff) |
* Added .all() and .any() members to PartialRedux
* Bug fixes in euler angle snippet, Assign and MapBase
* Started a "quick start guide" (draft state)
Diffstat (limited to 'Eigen/src/Core/CommaInitializer.h')
-rw-r--r-- | Eigen/src/Core/CommaInitializer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Eigen/src/Core/CommaInitializer.h b/Eigen/src/Core/CommaInitializer.h index 137413a7c..c394c3d78 100644 --- a/Eigen/src/Core/CommaInitializer.h +++ b/Eigen/src/Core/CommaInitializer.h @@ -53,10 +53,10 @@ struct MatrixBase<Derived>::CommaInitializer m_col = 0; m_currentBlockRows = 1; ei_assert(m_row<m_matrix.rows() - && "Too many rows passed to MatrixBase::operator<<"); + && "Too many rows passed to comma initializer (operator<<)"); } ei_assert(m_col<m_matrix.cols() - && "Too many coefficients passed to MatrixBase::operator<<"); + && "Too many coefficients passed to comma initializer (operator<<)"); ei_assert(m_currentBlockRows==1); m_matrix.coeffRef(m_row, m_col++) = s; return *this; @@ -71,10 +71,10 @@ struct MatrixBase<Derived>::CommaInitializer m_col = 0; m_currentBlockRows = other.rows(); ei_assert(m_row+m_currentBlockRows<=m_matrix.rows() - && "Too many rows passed to MatrixBase::operator<<"); + && "Too many rows passed to comma initializer (operator<<)"); } ei_assert(m_col<m_matrix.cols() - && "Too many coefficients passed to MatrixBase::operator<<"); + && "Too many coefficients passed to comma initializer (operator<<)"); ei_assert(m_currentBlockRows==other.rows()); if (OtherDerived::SizeAtCompileTime != Dynamic) m_matrix.block<OtherDerived::RowsAtCompileTime != Dynamic ? OtherDerived::RowsAtCompileTime : 1, @@ -90,7 +90,7 @@ struct MatrixBase<Derived>::CommaInitializer { ei_assert((m_row+m_currentBlockRows) == m_matrix.rows() && m_col == m_matrix.cols() - && "Too few coefficients passed to Matrix::operator<<"); + && "Too few coefficients passed to comma initializer (operator<<)"); } /** \returns the built matrix once all its coefficients have been set. |