Lint and documentation update. Change-Id: I05f40983f267dd1534e3eee8c0fc038e4429abed
diff --git a/docs/source/version_history.rst b/docs/source/version_history.rst index cad4a03..c3c9b67 100644 --- a/docs/source/version_history.rst +++ b/docs/source/version_history.rst
@@ -48,6 +48,7 @@ their solver configuration before calling ``Solve``. #. Added ``Problem::GetCostFunctionForResidualBlock`` and ``Problem::GetLossFunctionForResidualBlock``. +#. Added Tukey's loss function. (Michael Vitus) Backward Incompatible API Changes ---------------------------------
diff --git a/internal/ceres/rotation_test.cc b/internal/ceres/rotation_test.cc index 3a61551..27a939c 100644 --- a/internal/ceres/rotation_test.cc +++ b/internal/ceres/rotation_test.cc
@@ -1115,13 +1115,11 @@ // Rotations of angle Pi. CheckRotationMatrixToAngleAxisRoundTrip(theta, phi, kPi); // Rotation of angle approximately Pi. - CheckRotationMatrixToAngleAxisRoundTrip(theta, - phi, - kPi - kMaxSmallAngle * RandDouble()); + CheckRotationMatrixToAngleAxisRoundTrip( + theta, phi, kPi - kMaxSmallAngle * RandDouble()); // Rotations of angle approximately zero. - CheckRotationMatrixToAngleAxisRoundTrip(theta, - phi, - kMaxSmallAngle * 2.0 * RandDouble() - 1.0); + CheckRotationMatrixToAngleAxisRoundTrip( + theta, phi, kMaxSmallAngle * 2.0 * RandDouble() - 1.0); } } }