From 28626e2b828763a20b0ba2d24ecc75ae1b99c8d2 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Mon, 6 Aug 2012 15:43:03 +0200
Subject: [PATCH] Nuke SteepFunction

LinearFunction<100> serves the save purpose
---
 src/test-gradient-method-nicefunction.hh | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/test-gradient-method-nicefunction.hh b/src/test-gradient-method-nicefunction.hh
index dc3196e0..4eaba7c0 100644
--- a/src/test-gradient-method-nicefunction.hh
+++ b/src/test-gradient-method-nicefunction.hh
@@ -73,15 +73,6 @@ template <int slope> class SampleFunction : public MyFunction {
   }
 };
 
-class SteepFunction : public MyFunction {
-public:
-  double virtual evaluate(double x) const { return 100 * x; }
-
-  double virtual leftDifferential(double s) const { return 100; }
-
-  double virtual rightDifferential(double s) const { return 100; }
-};
-
 // slope in [n-1,n] is n
 class HorribleFunction : public MyFunction {
   // TODO: Handle kinks
-- 
GitLab