diff --git a/Code/Mantid/Framework/Algorithms/test/DiffractionFocussing2Test.h b/Code/Mantid/Framework/Algorithms/test/DiffractionFocussing2Test.h index 817c091c576de065429fb939c017d01655c705fb..ecc63760d9e894edd1cf8d477921952216aabb54 100644 --- a/Code/Mantid/Framework/Algorithms/test/DiffractionFocussing2Test.h +++ b/Code/Mantid/Framework/Algorithms/test/DiffractionFocussing2Test.h @@ -148,7 +148,7 @@ public: xRef[4] = 1e6; //Set an X-axis inputW->setX(pix, axis); - inputW->getEventList(pix).addEventQuickly( TofEvent(1000.0, 1.0) ); + inputW->getEventList(pix).addEventQuickly( TofEvent(1000.0) ); } // ------------ Create a grouping workspace by name ------------- diff --git a/Code/Mantid/Framework/DataObjects/test/EventListTest.h b/Code/Mantid/Framework/DataObjects/test/EventListTest.h index b43e9bc6fdd96f979fad6a4c579da7c0a84a9dd6..9822cbc7858067f81098c1aa1f9181344a3887d7 100644 --- a/Code/Mantid/Framework/DataObjects/test/EventListTest.h +++ b/Code/Mantid/Framework/DataObjects/test/EventListTest.h @@ -797,10 +797,10 @@ public: void test_EqualityOperator() { EventList el1, el2; - el1.addEventQuickly( TofEvent(1.5, static_cast<int64_t>(2.3)) ); + el1.addEventQuickly( TofEvent(1.5, 5) ); TS_ASSERT( !(el1 == el2) ); TS_ASSERT( (el1 != el2) ); - el2.addEventQuickly( TofEvent(1.5, static_cast<int64_t>(2.3)) ); + el2.addEventQuickly( TofEvent(1.5, 5) ); TS_ASSERT( (el1 == el2) ); TS_ASSERT( !(el1 != el2) ); } diff --git a/Code/Mantid/Framework/Geometry/src/Math/Matrix.cpp b/Code/Mantid/Framework/Geometry/src/Math/Matrix.cpp index 032347d0206e60d2acfa473697daedef09fd0b12..9b33d164ce7199d3fc80af7bc1936d414b264f6a 100644 --- a/Code/Mantid/Framework/Geometry/src/Math/Matrix.cpp +++ b/Code/Mantid/Framework/Geometry/src/Math/Matrix.cpp @@ -1053,7 +1053,7 @@ Matrix<T>::Invert() /** If the Matrix is square then invert the matrix using LU decomposition - @return Determinate (0 if the matrix is singular) + @return Determinant (0 if the matrix is singular) */ { if (nx!=ny && nx<1)