diff --git a/src/bisection-example-flexible.cc b/src/bisection-example-flexible.cc index 06d612a9bdd26cd1b08f523471da4b7b22580351..73a2e7718f65ad1ed353410c0711eab3bdac9242 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.");