ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/pabopto2xyz.c
(Generate patch)

Comparing ray/src/cv/pabopto2xyz.c (file contents):
Revision 2.2 by greg, Thu Jul 28 18:21:23 2016 UTC vs.
Revision 2.5 by greg, Wed Jun 12 00:09:18 2019 UTC

# Line 322 | Line 322 | memerr:
322   static double
323   interp2val(const PGINTERP *pgint, double px, double py)
324   {
325 < #define NSMP    12
325 > #define NSMP    36
326          float   wt[NSMP];
327          int     si[NSMP];
328          int     n = interp2_topsamp(wt, si, NSMP, pgint->ip2, px, py);
# Line 465 | Line 465 | advance_incidence(PGINPUT *slist[3], int ndx[3])
465   int
466   main(int argc, char *argv[])
467   {
468        char    *flist[MAX_INPUTS];
468          PGINPUT *slist[3];
469          int     i, j;
470          int     ndx[3];
# Line 491 | Line 490 | main(int argc, char *argv[])
490                  default:
491                          goto userr;
492                  }
493 <        if (i > argc-3)
493 >        if (i != argc-3)
494                  goto userr;
495          for (j = 0; j < 3; j++) {               /* prep input channels */
496 +                char    *flist[MAX_INPUTS];
497                  int     k, n;
498                  n = wordfile(flist, MAX_INPUTS, argv[i+j]);
499                  if (n <= 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines