From afd0e74ad048e4fed087b93478a41e02ad32faf3 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sat, 10 Sep 2011 22:57:20 +0200
Subject: [PATCH] Comments

---
 src/bisection-example-new.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bisection-example-new.cc b/src/bisection-example-new.cc
index 49e7321b..b9f09477 100644
--- a/src/bisection-example-new.cc
+++ b/src/bisection-example-new.cc
@@ -104,6 +104,8 @@ typename Functional::SmallVector minimise(
   if (descDir == typename Functional::SmallVector(0.0))
     return typename Functional::SmallVector(0.0);
 
+  // {{{ Construct a restriction of J to the line x + t * descDir
+
   /* We have
 
      1/2 <A(u+xv),u+xv>-<b,u+xv> = 1/2 <Av,v> x^2 - <b-Au,v> x + <1/2 Au-b,u>
@@ -124,6 +126,7 @@ typename Functional::SmallVector minimise(
   typedef DirectionalConvexFunction<MyNonlinearityType>
   MyDirectionalConvexFunctionType;
   MyDirectionalConvexFunctionType JRest(JRestA, JRestb, phi, x, descDir);
+  // }}}
 
   // FIXME: default values are used
   Bisection bisection;
-- 
GitLab