Commit bee4e403853748531e48671173a93bf499c3a966

Authored by Hacene SI HADJ MOHAND
1 parent 677cc39b

tests ok

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
CMakeLists.txt
@@ -127,7 +127,7 @@ add_subdirectory(src/XMLRequest) @@ -127,7 +127,7 @@ add_subdirectory(src/XMLRequest)
127 add_subdirectory(src/SpiceKernel) 127 add_subdirectory(src/SpiceKernel)
128 add_subdirectory(src/amdaXMLRequestorTool) 128 add_subdirectory(src/amdaXMLRequestorTool)
129 add_subdirectory(src/amdaParameterGenerator) 129 add_subdirectory(src/amdaParameterGenerator)
130 -#add_subdirectory(src/expressionParser) 130 +add_subdirectory(src/expressionParser)
131 add_subdirectory(src/amdaParameterInfo) 131 add_subdirectory(src/amdaParameterInfo)
132 add_subdirectory(src/amdaGetErrorMsg) 132 add_subdirectory(src/amdaGetErrorMsg)
133 add_subdirectory(src/PostProcessing) 133 add_subdirectory(src/PostProcessing)
src/Parameters/StatisticData.hh
@@ -36,7 +36,7 @@ void pushStatisticDataInVectorString(std::vector<std::string> &result, std::vect @@ -36,7 +36,7 @@ void pushStatisticDataInVectorString(std::vector<std::string> &result, std::vect
36 //push coverage 36 //push coverage
37 if (isCoverageIndependantOfResultType && (coverage.size() >= 1)) 37 if (isCoverageIndependantOfResultType && (coverage.size() >= 1))
38 return; 38 return;
39 - double c = (double)data._nbDataProcessed / (double)ideal; 39 + double c = (double)data._nbDataProcessed / ((double)ideal+1);
40 if (c < 0.) 40 if (c < 0.)
41 c = 0.; 41 c = 0.;
42 if (c > 1.) 42 if (c > 1.)