diff options
author | 2007-09-28 11:20:29 +0000 | |
---|---|---|
committer | 2007-09-28 11:20:29 +0000 | |
commit | 51e29ae4bd9d725c3a68fe94766c73ba8c717688 (patch) | |
tree | 65bd0d0e0e6fc6e9f6f668ff14652a34ae4a1eb0 /src/internal/Minor.h | |
parent | aa3294f14e33ae5078fcdbedc9df241a674a9f2e (diff) |
some reorganization leading to simpler expression trees
Diffstat (limited to 'src/internal/Minor.h')
-rw-r--r-- | src/internal/Minor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/Minor.h b/src/internal/Minor.h index 77fa4b9c8..abd8fe03c 100644 --- a/src/internal/Minor.h +++ b/src/internal/Minor.h @@ -71,10 +71,10 @@ template<typename MatrixType> class EiMinor }; template<typename Scalar, typename Derived> -EiMinor<EiObject<Scalar, Derived> > +EiMinor<Derived> EiObject<Scalar, Derived>::minor(int row, int col) { - return EiMinor<EiObject>(ref(), row, col); + return EiMinor<Derived>(static_cast<Derived*>(this)->ref(), row, col); } #endif // EI_MINOR_H |