Skip to content
Snippets Groups Projects
Commit 2644d248 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Remove silly FIXMEs

parent 1eb936d7
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ void testSampleFunction() { ...@@ -88,7 +88,7 @@ void testSampleFunction() {
Functional::SmallVector returned; Functional::SmallVector returned;
J.descentDirection(start, returned); J.descentDirection(start, returned);
error -= 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); double const ret1 = functionTester(J, start, 6);
...@@ -147,7 +147,7 @@ void testSampleFunctionNonsmooth() { ...@@ -147,7 +147,7 @@ void testSampleFunctionNonsmooth() {
error[0] = -(7 / sqrt(5) - 1); error[0] = -(7 / sqrt(5) - 1);
error[1] = -(11.5 / sqrt(5) - 2); error[1] = -(11.5 / sqrt(5) - 2);
error -= returned; 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); functionTester(J, start, 6);
} }
...@@ -162,7 +162,7 @@ void testSampleFunctionNonsmooth() { ...@@ -162,7 +162,7 @@ void testSampleFunctionNonsmooth() {
error[0] = -(8 / sqrt(5) - 1); error[0] = -(8 / sqrt(5) - 1);
error[1] = -(13.5 / sqrt(5) - 2); error[1] = -(13.5 / sqrt(5) - 2);
error -= returned; 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); functionTester(J, start, 6);
} }
...@@ -199,7 +199,7 @@ void testTrivialFunction() { ...@@ -199,7 +199,7 @@ void testTrivialFunction() {
Functional::SmallVector returned; Functional::SmallVector returned;
J.descentDirection(start, returned); J.descentDirection(start, returned);
error -= 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); double const ret1 = functionTester(J, start, 6);
std::cout << std::endl; std::cout << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment