diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ef1fb2..bf19930 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,7 +127,7 @@ add_subdirectory(src/XMLRequest) add_subdirectory(src/SpiceKernel) add_subdirectory(src/amdaXMLRequestorTool) add_subdirectory(src/amdaParameterGenerator) -#add_subdirectory(src/expressionParser) +add_subdirectory(src/expressionParser) add_subdirectory(src/amdaParameterInfo) add_subdirectory(src/amdaGetErrorMsg) add_subdirectory(src/PostProcessing) diff --git a/src/Parameters/StatisticData.hh b/src/Parameters/StatisticData.hh index ba42dc9..de85f8e 100644 --- a/src/Parameters/StatisticData.hh +++ b/src/Parameters/StatisticData.hh @@ -36,7 +36,7 @@ void pushStatisticDataInVectorString(std::vector &result, std::vect //push coverage if (isCoverageIndependantOfResultType && (coverage.size() >= 1)) return; - double c = (double)data._nbDataProcessed / (double)ideal; + double c = (double)data._nbDataProcessed / ((double)ideal+1); if (c < 0.) c = 0.; if (c > 1.) -- libgit2 0.21.2