cleaning : removing #define, use std:min() and such

This commit is contained in:
Thomas Capricelli
2009-08-22 05:29:33 +02:00
parent 20480a5438
commit 11c3762068
6 changed files with 104 additions and 116 deletions

View File

@@ -36,18 +36,6 @@ namespace Eigen {
*/
//@{
#define min(a,b) ((a) <= (b) ? (a) : (b))
#define max(a,b) ((a) >= (b) ? (a) : (b))
#define abs(x) ((x) >= 0 ? (x) : -(x))
#define TRUE_ (1)
#define FALSE_ (0)
#define p1 .1
#define p5 .5
#define p25 .25
#define p75 .75
#define p001 .001
#define p0001 1e-4
#if 1
#include <cminpack.h>
#else