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

Comparing ray/src/common/mgf_context.c (file contents):
Revision 3.3 by greg, Wed Sep 20 21:56:13 2023 UTC vs.
Revision 3.4 by greg, Thu Jan 4 01:55:42 2024 UTC

# Line 442 | Line 442 | setspectrum(                   /* convert a spectrum */
442                                          /* get bounds */
443          if (ac < 4)
444                  return(MG_EARGC);
445 <        if (!isflt(av[0]) || !isflt(av[1]))
445 >        if (!isflt(av[0]) | !isflt(av[1]))
446                  return(MG_ETYPE);
447          wlmin = atof(av[0]);
448          wlmax = atof(av[1]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines