| # | Line 196 | Line 196 | getlumsamp(int n) /* get set of random point sample l | |
|---|---|---|
| 196 | int sv = 0; | |
| 197 | double rval, cumprob = 0; | |
| 198 | ||
| 199 | < | if (x <= 0 && freadcolrs(cscan, x=scanlen(&inpres), infp) < 0) { |
| 199 | > | if (x <= 0 && fread2colrs(cscan, x=scanlen(&inpres), infp, |
| 200 | > | NCSAMP, WLPART) < 0) { |
| 201 | fprintf(stderr, "%s: %s: scanline read error\n", | |
| 202 | progname, infn); | |
| 203 | exit(1); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |