From ecb5af5901c1a5567a9bb04bf2963de2a3df8a54 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Tue, 6 Sep 2011 18:10:54 +0200
Subject: [PATCH] Comments: FIXMEs, TODOs, etc.

---
 src/bisection-example-flexible.cc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bisection-example-flexible.cc b/src/bisection-example-flexible.cc
index 06d612a9..73a2e771 100644
--- a/src/bisection-example-flexible.cc
+++ b/src/bisection-example-flexible.cc
@@ -18,14 +18,12 @@
 
 #include "properscalarincreasingconvexfunction.hh"
 
-// TODO: default to TrivialFunction
 template <int dimension, class Function = TrivialFunction>
 class SampleFunctional {
 public:
   typedef Dune::FieldVector<double, dimension> SmallVector;
   typedef Dune::FieldMatrix<double, dimension, dimension> SmallMatrix;
 
-  // FIXME: hardcoded function H
   SampleFunctional(SmallMatrix A, SmallVector b) : A_(A), b_(b), func_() {}
 
   double operator()(const SmallVector v) const {
@@ -39,7 +37,7 @@ class SampleFunctional {
   double directionalDerivative(const SmallVector x,
                                const SmallVector dir) const {
     if (x == SmallVector(0.0))
-      // Well, not in this way -- but can we compute them?
+      // FIXME: Well, not in this way -- but can we compute them?
       DUNE_THROW(Dune::Exception,
                  "Directional derivatives cannot be computed at zero.");
 
-- 
GitLab