Commit bee4e403853748531e48671173a93bf499c3a966
1 parent
677cc39b
Exists in
master
and in
85 other branches
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 | 127 | add_subdirectory(src/SpiceKernel) |
128 | 128 | add_subdirectory(src/amdaXMLRequestorTool) |
129 | 129 | add_subdirectory(src/amdaParameterGenerator) |
130 | -#add_subdirectory(src/expressionParser) | |
130 | +add_subdirectory(src/expressionParser) | |
131 | 131 | add_subdirectory(src/amdaParameterInfo) |
132 | 132 | add_subdirectory(src/amdaGetErrorMsg) |
133 | 133 | add_subdirectory(src/PostProcessing) | ... | ... |
src/Parameters/StatisticData.hh
... | ... | @@ -36,7 +36,7 @@ void pushStatisticDataInVectorString(std::vector<std::string> &result, std::vect |
36 | 36 | //push coverage |
37 | 37 | if (isCoverageIndependantOfResultType && (coverage.size() >= 1)) |
38 | 38 | return; |
39 | - double c = (double)data._nbDataProcessed / (double)ideal; | |
39 | + double c = (double)data._nbDataProcessed / ((double)ideal+1); | |
40 | 40 | if (c < 0.) |
41 | 41 | c = 0.; |
42 | 42 | if (c > 1.) | ... | ... |