- improve and comment the "BasicStuff" test.

- adjust behavior of Matrix(int,int) constructor
- s/EI_/EIGEN_/
This commit is contained in:
Benoit Jacob
2007-11-26 08:47:07 +00:00
parent f14712a1a3
commit 5309ef5b5e
29 changed files with 246 additions and 212 deletions

View File

@@ -23,8 +23,8 @@
// License. This exception does not invalidate any other reasons why a work
// based on this file might be covered by the GNU General Public License.
#ifndef EI_SUM_H
#define EI_SUM_H
#ifndef EIGEN_SUM_H
#define EIGEN_SUM_H
template<typename Lhs, typename Rhs> class Sum
: public Object<typename Lhs::Scalar, Sum<Lhs, Rhs> >
@@ -48,7 +48,7 @@ template<typename Lhs, typename Rhs> class Sum
: m_lhs(other.m_lhs), m_rhs(other.m_rhs) {}
// assignments are illegal but we still want to intercept them and get clean compile errors
EI_INHERIT_ASSIGNMENT_OPERATORS(Sum)
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Sum)
private:
const Sum& _ref() const { return *this; }
@@ -80,4 +80,4 @@ Object<Scalar, Derived>::operator+=(const Object<Scalar, OtherDerived>& other)
return *this = *this + other;
}
#endif // EI_SUM_H
#endif // EIGEN_SUM_H