Skip to content
Snippets Groups Projects
Commit 126fb8f8 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: const definition with better if defined guard

parent c07afbf0
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,10 @@
#include "itkMersenneTwisterRandomVariateGenerator.h"
#if defined(OTB_USE_OPENCV) || defined(OTB_USE_LIBSVM)
const double epsilon = 0.1;
#endif
#ifdef OTB_USE_OPENCV
#include "otbNeuralNetworkMachineLearningModel.h"
#include "otbSVMMachineLearningModel.h"
......@@ -31,7 +35,6 @@
#endif
#ifdef OTB_USE_LIBSVM
const double epsilon = 0.1;
#include "otbLibSVMMachineLearningModel.h"
#endif
......
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