| # | Line 27 | Line 27 | readIOdir(FVECT idir, FVECT odir, FILE *fp, int fmt) | |
|---|---|---|
| 27 | ||
| 28 | switch (fmt) { | |
| 29 | case 'a': | |
| 30 | < | if (fscanf(fp, "%lf %lf %lf %lf %lf %lf", |
| 31 | < | dvec, dvec+1, dvec+2, dvec+3, dvec+4, dvec+5) != 6) |
| 30 | > | if (fscanf(fp, FVFORMAT, dvec, dvec+1, dvec+2) != 3 || |
| 31 | > | fscanf(fp, FVFORMAT, dvec+3, dvec+4, dvec+5) != 3) |
| 32 | return(0); | |
| 33 | VCOPY(idir, dvec); | |
| 34 | VCOPY(odir, dvec+3); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |