src/hg/lib/wiggleCart.c 1.27

1.27 2009/11/18 05:11:31 angie
Oops, used double instead of int for abs{Min,Max} -- thanks Jim!
Index: src/hg/lib/wiggleCart.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/wiggleCart.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -B -U 4 -r1.26 -r1.27
--- src/hg/lib/wiggleCart.c	17 Nov 2009 06:37:58 -0000	1.26
+++ src/hg/lib/wiggleCart.c	18 Nov 2009 05:11:31 -0000	1.27
@@ -128,9 +128,9 @@
 boolean isBedGraph = (wordCount == 0 || sameString(words[0],"bedGraph"));
 // Determine absolute min and max.  Someday hgTrackDb will enforce inclusion of data
 // range settings, but until then, there is some circular logic where either one
 // can provide a default for the other if the other is missing.
-int absMax = 0.0, absMin = 0.0;
+double absMax = 0.0, absMin = 0.0;
 boolean missingAbsMin = FALSE, missingAbsMax = FALSE;
 if (isBedGraph)
     {
     char *tdbMin = trackDbSettingClosestToHomeOrDefault(tdb, MIN_LIMIT, NULL);