# | Line 117 | Line 117 | char *fname | |
---|---|---|
117 | } | |
118 | ltotal = 0; | |
119 | while (!feof(fp)) { | |
120 | < | if (ltotal == 0) /* initialize */ |
120 | > | if (ltotal == 0) { /* initialize */ |
121 | if (func == MULT) /* special case */ | |
122 | for (n = 0; n < MAXCOL; n++) | |
123 | result[n] = 0.0; | |
124 | else | |
125 | for (n = 0; n < MAXCOL; n++) | |
126 | result[n] = init_val[func]; | |
127 | + | } |
128 | ncol = 0; | |
129 | for (nlin = 0; (count <= 0 || nlin < count) && | |
130 | (cp = fgets(buf, sizeof(buf), fp)) != NULL; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |