]> granicus.if.org Git - graphviz/commitdiff
janitor - unitialized variable
authorellson <devnull@localhost>
Fri, 23 Dec 2005 16:41:59 +0000 (16:41 +0000)
committerellson <devnull@localhost>
Fri, 23 Dec 2005 16:41:59 +0000 (16:41 +0000)
lib/neatogen/quad_prog_solve.c

index 903bd03b96e7c3cc4b832f24e4edf2024837d927..e88f8120a74133acc6bf151c119d2def38b6263a 100644 (file)
@@ -72,7 +72,7 @@ ensureMonotonicOrderingWithGaps(float* place, int n, int* ordering,
        
        int i;
        int node, level, max_in_level;
-       float lower_bound;
+       float lower_bound = (float)-1e9;
 
        level = -1; max_in_level=0;             
        for (i=0; i<n; i++) {