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.4 by greg, Thu May 16 16:38:37 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 491 | Line 491 | main(int argc, char *argv[])
491                  default:
492                          goto userr;
493                  }
494 <        if (i > argc-3)
494 >        if (i != argc-3)
495                  goto userr;
496          for (j = 0; j < 3; j++) {               /* prep input channels */
497                  int     k, n;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines