If the diagnostic specificity is less than 1.0, then there will be false positives, which is expected.
However, OpenMalaria will try to report the sum of the log of the totalDensity values for each host, even when "sumlogDens" is false in the survey optons.
Computing log(totalDensity) when totalDensity is 0 is not valid and raises an errno error, which is then reported in the main().
With this commit, OM will not compute the log if totalDensity is 0.
If the diagnostic specificity is less than 1.0, then there will be false positives, which is expected.
However, OpenMalaria will try to report the sum of the log of the totalDensity values for each host, even when "sumlogDens" is false in the survey optons.
Computing log(totalDensity) when totalDensity is 0 is not valid and raises an errno error, which is then reported in the main().
With this commit, OM will not compute the log if totalDensity is 0.