src/hg/instinct/lib/hgStatsLib.c 1.11
1.11 2009/03/03 18:53:48 jsanborn
moving cprob.h to inc directory
Index: src/hg/instinct/lib/hgStatsLib.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/lib/hgStatsLib.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/hg/instinct/lib/hgStatsLib.c 21 Jan 2009 23:28:19 -0000 1.10
+++ src/hg/instinct/lib/hgStatsLib.c 3 Mar 2009 18:53:48 -0000 1.11
@@ -459,9 +459,9 @@
struct slDouble *currVal = data;
while(currVal)
{
float pVal = pow(10,-1*currVal->val);
- if(pVal > 0 && pVal < 1)
+ if(pVal > 0 && pVal <= 1)
{
logSum += log(pVal);
logSumCount++; // only count the ones we can actually use
}