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

WRG: take out shadow warning

parent 7efcce66
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
#include "itkMersenneTwisterRandomVariateGenerator.h"
#if defined(OTB_USE_OPENCV) || defined(OTB_USE_LIBSVM)
const double epsilon = 0.1;
const double otb_epsilon_01 = 0.1;
#endif
#ifdef OTB_USE_OPENCV
......@@ -255,7 +255,7 @@ int otbLibSVMRegressionTests(int itkNotUsed(argc),
param.vMin = -0.5;
param.vMax = 0.5;
param.count = 200;
param.eps = epsilon;
param.eps = otb_epsilon_01;
std::cout << "Testing regression on a linear monovariate function" << std::endl;
LinearFunctionSampleGenerator<PrecisionType> lfsg(2.0, 1.0);
......@@ -330,7 +330,7 @@ int otbNeuralNetworkRegressionTests(int itkNotUsed(argc),
param.vMin = -0.5;
param.vMax = 0.5;
param.count = 20000;
param.eps = epsilon;
param.eps = otb_epsilon_01;
std::cout << "Testing regression on a linear monovariate function" << std::endl;
LinearFunctionSampleGenerator<PrecisionType> lfsg(2.0, 1.0);
......@@ -394,7 +394,7 @@ int otbSVMRegressionTests(int itkNotUsed(argc),
param.vMin = -0.5;
param.vMax = 0.5;
param.count = 200;
param.eps = epsilon;
param.eps = otb_epsilon_01;
std::cout << "Testing regression on a linear monovariate function" << std::endl;
LinearFunctionSampleGenerator<PrecisionType> lfsg(2.0, 1.0);
......@@ -451,7 +451,7 @@ int otbDecisionTreeRegressionTests(int itkNotUsed(argc),
param.vMin = -0.5;
param.vMax = 0.5;
param.count = 200;
param.eps = epsilon;
param.eps = otb_epsilon_01;
std::cout << "Testing regression on a linear monovariate function" << std::endl;
LinearFunctionSampleGenerator<PrecisionType> lfsg(2.0, 1.0);
......@@ -513,7 +513,7 @@ int otbGradientBoostedTreeRegressionTests(int itkNotUsed(argc),
param.vMin = -0.5;
param.vMax = 0.5;
param.count = 200;
param.eps = epsilon;
param.eps = otb_epsilon_01;
std::cout << "Testing regression on a linear monovariate function" << std::endl;
LinearFunctionSampleGenerator<PrecisionType> lfsg(2.0, 1.0);
......@@ -574,7 +574,7 @@ int otbKNearestNeighborsRegressionTests(int itkNotUsed(argc),
param.vMin = -0.5;
param.vMax = 0.5;
param.count = 200;
param.eps = epsilon;
param.eps = otb_epsilon_01;
std::cout << "Testing regression on a linear monovariate function" << std::endl;
LinearFunctionSampleGenerator<PrecisionType> lfsg(2.0, 1.0);
......@@ -632,7 +632,7 @@ int otbRandomForestsRegressionTests(int itkNotUsed(argc),
param.vMin = -0.5;
param.vMax = 0.5;
param.count = 200;
param.eps = epsilon;
param.eps = otb_epsilon_01;
std::cout << "Testing regression on a linear monovariate function" << std::endl;
LinearFunctionSampleGenerator<PrecisionType> lfsg(2.0, 1.0);
......
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