Skip to content
Snippets Groups Projects
Commit 6df6b4a6 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: converting dangerous #define to static const member

parent dfa2c250
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ namespace otb
* \ingroup IntensityImageFilters Multithreaded
*/
#define epsilon 0.01
// #define EPSILON_VALUE_CBAMI 0.01
namespace Functor
{
......@@ -93,6 +93,8 @@ public:
protected:
static const double epsilon = 0.01;
inline void normalizeInPlace(VectorType vx)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment