diff --git a/src/test-gradient-method.cc b/src/test-gradient-method.cc index ffb7e9ca537a5d27b3d3c55c16c396d56c47f30d..8936b415b9482cc6d3a8d9da827d333f7229c658 100644 --- a/src/test-gradient-method.cc +++ b/src/test-gradient-method.cc @@ -88,7 +88,7 @@ void testSampleFunction() { Functional::SmallVector returned; J.descentDirection(start, returned); error -= returned; - assert(error.two_norm() < 1e-10); // FIXME: 1e-10 sounds reasonable. Is it? + assert(error.two_norm() < 1e-10); double const ret1 = functionTester(J, start, 6); @@ -147,7 +147,7 @@ void testSampleFunctionNonsmooth() { error[0] = -(7 / sqrt(5) - 1); error[1] = -(11.5 / sqrt(5) - 2); error -= returned; - assert(error.two_norm() < 1e-10); // FIXME: 1e-10 sounds reasonable. Is it? + assert(error.two_norm() < 1e-10); functionTester(J, start, 6); } @@ -162,7 +162,7 @@ void testSampleFunctionNonsmooth() { error[0] = -(8 / sqrt(5) - 1); error[1] = -(13.5 / sqrt(5) - 2); error -= returned; - assert(error.two_norm() < 1e-10); // FIXME: 1e-10 sounds reasonable. Is it? + assert(error.two_norm() < 1e-10); functionTester(J, start, 6); } @@ -199,7 +199,7 @@ void testTrivialFunction() { Functional::SmallVector returned; J.descentDirection(start, returned); error -= returned; - assert(error.two_norm() < 1e-10); // FIXME: 1e-10 sounds reasonable. Is it? + assert(error.two_norm() < 1e-10); double const ret1 = functionTester(J, start, 6); std::cout << std::endl;