diff --git a/src/bisection-example-new.cc b/src/bisection-example-new.cc index f075e31abfbb01a5fe4515c4945118cd11b40e92..972203c935dd27b22c1d8f27fd2f5d5275299c9b 100644 --- a/src/bisection-example-new.cc +++ b/src/bisection-example-new.cc @@ -240,7 +240,7 @@ void testSampleFunction() { SampleFunctional::SmallVector correction = J.minimise(start, 20); assert(J(start + correction) <= J(start)); assert(std::abs(J(start + correction) + 0.254644) < 1e-8); - std::cout << J(start + correction) << std::endl; + std::cout << "Arrived at J(...) = " << J(start + correction) << std::endl; } void testTrivialFunction() { @@ -266,7 +266,7 @@ void testTrivialFunction() { SampleFunctional::SmallVector correction = J.minimise(start, 20); assert(J(start + correction) <= J(start)); assert(std::abs(J(start + correction) + 0.83333333) < 1e-8); - std::cout << J(start + correction) << std::endl; + std::cout << "Arrived at J(...) = " << J(start + correction) << std::endl; } int main() {