--- trunk/src/math/RectMatrix.hpp 2013/08/21 16:52:56 1932 +++ trunk/src/math/RectMatrix.hpp 2013/08/23 15:59:23 1933 @@ -603,7 +603,7 @@ namespace OpenMD { * @return the cross product (vector product) of t1 and t2 */ template - inline Vector cross( const RectMatrix& t1, + inline Vector mCross( const RectMatrix& t1, const RectMatrix& t2 ) { Vector result; unsigned int i1; @@ -615,7 +615,7 @@ namespace OpenMD { for (unsigned int j = 0; j < Col; j++) { result[i] += t1(i1,j) * t2(i2,j) - t1(i2,j) * t2(i1,j); } - } + } return result; }