From 36d1ace6766c67859d8dc8cb1a6f24e1344bd7be Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Fri, 9 Sep 2011 17:49:02 +0200 Subject: [PATCH] Harder example --- src/bisection-example-new.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bisection-example-new.cc b/src/bisection-example-new.cc index c7a5e0be..6df06d37 100644 --- a/src/bisection-example-new.cc +++ b/src/bisection-example-new.cc @@ -203,7 +203,7 @@ void testSampleFunction() { A[0][0] = 3; A[0][1] = 1.5; A[1][0] = 1.5; - A[1][1] = 3; + A[1][1] = 4; SampleFunctional::SmallVector b; b[0] = 1; b[1] = 2; @@ -219,7 +219,7 @@ void testSampleFunction() { start *= 17; SampleFunctional::SmallVector correction; - for (int i = 1; i <= 4; ++i) { + for (int i = 1; i <= 6; ++i) { correction = J.minimise(start, 20); start += correction; } @@ -234,7 +234,7 @@ void testTrivialFunction() { A[0][0] = 3; A[0][1] = 1.5; A[1][0] = 1.5; - A[1][1] = 3; + A[1][1] = 4; SampleFunctional::SmallVector b; b[0] = 1; b[1] = 2; -- GitLab