diff options
author | 2007-06-05 08:44:53 +0000 | |
---|---|---|
committer | 2007-06-05 08:44:53 +0000 | |
commit | 6fe6a81839a7f881d810ccea5253e3d1928b53ca (patch) | |
tree | 8429c0b78e633c49acd2b47bbc5238f2c9ae2531 /tvmet-1.7.1/include/tvmet/xpr/Matrix.h | |
parent | e3a45173b50f698591071fdd38e511bd5a8d2ea8 (diff) |
Fix enough stuff, and remove enough dead stuff, to make a simple test program compile
Diffstat (limited to 'tvmet-1.7.1/include/tvmet/xpr/Matrix.h')
-rw-r--r-- | tvmet-1.7.1/include/tvmet/xpr/Matrix.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tvmet-1.7.1/include/tvmet/xpr/Matrix.h b/tvmet-1.7.1/include/tvmet/xpr/Matrix.h index c31189c3d..08b7bad85 100644 --- a/tvmet-1.7.1/include/tvmet/xpr/Matrix.h +++ b/tvmet-1.7.1/include/tvmet/xpr/Matrix.h @@ -24,6 +24,8 @@ #ifndef TVMET_XPR_MATRIX_H #define TVMET_XPR_MATRIX_H +#include <cassert> + #include <tvmet/meta/Matrix.h> #include <tvmet/loop/Matrix.h> @@ -87,7 +89,7 @@ public: /** access by index. */ value_type operator()(int i, int j) const { - TVMET_RT_CONDITION((i < Rows) && (j < Cols), "XprMatrix Bounce Violation") + assert((i < Rows) && (j < Cols)); return m_expr(i, j); } @@ -153,7 +155,6 @@ private: #include <tvmet/xpr/MatrixFunctions.h> #include <tvmet/xpr/MatrixBinaryFunctions.h> -#include <tvmet/xpr/MatrixUnaryFunctions.h> #include <tvmet/xpr/MatrixOperators.h> #include <tvmet/xpr/Eval.h> |