MATH: Fix crash with mac osx. Fix #363

This commit is contained in:
Giulio Camuffo 2011-09-22 21:39:29 +02:00
parent 73684f1fbc
commit cd6832aad7

View File

@ -127,7 +127,8 @@ public:
inline float &operator()(int row, int col);
inline float operator()(int row, int col) const;
operator Matrix<rows, cols>&() const { return *_this; }
//FIXME: This is troublesome with OSX, so commenting it for now.
// operator Matrix<rows, cols>&() const { return *_this; }
static Matrix<rows, cols> sum(const Matrix<rows, cols> &m1, const Matrix<rows, cols> &m2);
static Matrix<rows, cols> difference(const Matrix<rows, cols> &m1, const Matrix<rows, cols> &m2);