Remove the ETL_FIXED_DERIVATIVE macro.
[synfig.git] / ETL / trunk / ETL / _calculus.h
index 3e6266b..279ed91 100644 (file)
@@ -1,7 +1,7 @@
 /*! ========================================================================
 ** Extended Template and Library
 ** Calculus Functional Classes Implementation
-** $Id: _calculus.h,v 1.1.1.1 2005/01/04 01:31:46 darco Exp $
+** $Id$
 **
 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
 **
@@ -34,8 +34,6 @@
 //#define _EPSILON             0.0000001
 //#endif
 
-#define ETL_FIXED_DERIVATIVE 1
-
 /* === T Y P E D E F S ===================================================== */
 
 /* === C L A S S E S & S T R U C T S ======================================= */
@@ -53,11 +51,7 @@ public:
        typename T::result_type
        operator()(const typename T::argument_type &x)const
        {
-#ifdef ETL_FIXED_DERIVATIVE
                return (func(x+epsilon)-func(x))/epsilon;
-#else
-               return (func(x)-func(x+epsilon))/epsilon;
-#endif
        }
 };