From 2644d24851aff09380bfe7b0fb2eea877a0a6267 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Mon, 14 Nov 2011 12:21:07 +0100 Subject: [PATCH] Remove silly FIXMEs --- src/test-gradient-method.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test-gradient-method.cc b/src/test-gradient-method.cc index ffb7e9ca..8936b415 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; -- GitLab