diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-07-28 18:11:30 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-07-28 18:11:30 +0200 |
commit | 864171df5c2e92c829ccaa14fd44c1bbcc27caec (patch) | |
tree | 3137bc21c80c3e279b846c2677396e8472e6c0cb /Eigen/src/Core/MapBase.h | |
parent | 1ba35248e96dc5002e2394086886cbc617d85dc6 (diff) |
fix a couple of issues related to recent products
Diffstat (limited to 'Eigen/src/Core/MapBase.h')
-rw-r--r-- | Eigen/src/Core/MapBase.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index e643144ff..20103408b 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -173,14 +173,16 @@ template<typename Derived> class MapBase using Base::operator=; using Base::operator*=; - - template<typename Lhs,typename Rhs> - Derived& operator+=(const Flagged<Product<Lhs,Rhs,CacheFriendlyProduct>, 0, EvalBeforeNestingBit | EvalBeforeAssigningBit>& other) - { return Base::operator+=(other); } - - template<typename Lhs,typename Rhs> - Derived& operator-=(const Flagged<Product<Lhs,Rhs,CacheFriendlyProduct>, 0, EvalBeforeNestingBit | EvalBeforeAssigningBit>& other) - { return Base::operator-=(other); } + using Base::operator+=; + using Base::operator-=; + +// template<typename Lhs,typename Rhs> +// Derived& operator+=(const Flagged<Product<Lhs,Rhs,CacheFriendlyProduct>, 0, EvalBeforeNestingBit | EvalBeforeAssigningBit>& other) +// { return Base::operator+=(other); } +// +// template<typename Lhs,typename Rhs> +// Derived& operator-=(const Flagged<Product<Lhs,Rhs,CacheFriendlyProduct>, 0, EvalBeforeNestingBit | EvalBeforeAssigningBit>& other) +// { return Base::operator-=(other); } template<typename OtherDerived> Derived& operator+=(const MatrixBase<OtherDerived>& other) |