diff --git a/math/matrix.h b/math/matrix.h index 39f7fa50100..7587e0915b9 100644 --- a/math/matrix.h +++ b/math/matrix.h @@ -127,7 +127,8 @@ public: inline float &operator()(int row, int col); inline float operator()(int row, int col) const; - operator Matrix&() const { return *_this; } + //FIXME: This is troublesome with OSX, so commenting it for now. +// operator Matrix&() const { return *_this; } static Matrix sum(const Matrix &m1, const Matrix &m2); static Matrix difference(const Matrix &m1, const Matrix &m2);