diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2007-06-05 08:44:53 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2007-06-05 08:44:53 +0000 |
commit | 6fe6a81839a7f881d810ccea5253e3d1928b53ca (patch) | |
tree | 8429c0b78e633c49acd2b47bbc5238f2c9ae2531 /tvmet-1.7.1/include/tvmet/xpr/Vector.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/Vector.h')
-rw-r--r-- | tvmet-1.7.1/include/tvmet/xpr/Vector.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tvmet-1.7.1/include/tvmet/xpr/Vector.h b/tvmet-1.7.1/include/tvmet/xpr/Vector.h index 6416c648a..e2a798f85 100644 --- a/tvmet-1.7.1/include/tvmet/xpr/Vector.h +++ b/tvmet-1.7.1/include/tvmet/xpr/Vector.h @@ -84,7 +84,7 @@ public: /** const index operator for vectors. */ value_type operator()(int i) const { - TVMET_RT_CONDITION(i < Size, "XprVector Bounce Violation") + assert(i < Size); return m_expr(i); } @@ -145,7 +145,6 @@ private: #include <tvmet/xpr/VectorFunctions.h> #include <tvmet/xpr/VectorBinaryFunctions.h> -#include <tvmet/xpr/VectorUnaryFunctions.h> #include <tvmet/xpr/VectorOperators.h> #include <tvmet/xpr/Eval.h> |