From: vsr Date: Tue, 9 Feb 2010 09:35:30 +0000 (+0000) Subject: 0020687: [CEA 376] #define in MEDMEM (and elsewhere ?) X-Git-Tag: V5_1_main_FINAL~219 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=178ebc469e4084b233a954a0a1a276fe89f2ae41;p=tools%2Fmedcoupling.git 0020687: [CEA 376] #define in MEDMEM (and elsewhere ?) --- diff --git a/src/INTERP_KERNEL/VectorUtils.hxx b/src/INTERP_KERNEL/VectorUtils.hxx index 469b46b53..aefe283f4 100644 --- a/src/INTERP_KERNEL/VectorUtils.hxx +++ b/src/INTERP_KERNEL/VectorUtils.hxx @@ -25,17 +25,17 @@ #include #include -/// Precision used for tests of 3D part of INTERP_KERNEL -#define VOL_PREC 1.0e-6 - -/// Default relative tolerance in epsilonEqualRelative -#define DEFAULT_REL_TOL 1.0e-6 - -/// Default absolute tolerance in epsilonEqual and epsilonEqualRelative -#define DEFAULT_ABS_TOL 5.0e-12 - namespace INTERP_KERNEL { + /// Precision used for tests of 3D part of INTERP_KERNEL + const double VOL_PREC = 1.0e-6; + + /// Default relative tolerance in epsilonEqualRelative + const double DEFAULT_REL_TOL = 1.0e-6; + + /// Default absolute tolerance in epsilonEqual and epsilonEqualRelative + const double DEFAULT_ABS_TOL = 5.0e-12; + /** * @param a first point. Should point on a array of size at least equal to SPACEDIM. * @param b second point. Should point on a array of size at least equal to SPACEDIM.