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

Comparing ray/src/cv/mgflib/context.c (file contents):
Revision 1.22 by greg, Wed May 10 17:46:09 1995 UTC vs.
Revision 1.23 by greg, Mon Aug 28 16:44:12 1995 UTC

# Line 606 | Line 606 | char   **av;
606                  }
607                  if (n > 1)
608                          va[i] /= (double)n;
609                if (va[i] < 0.)
610                        return(MG_EILL);
609                  if (va[i] > scale)
610                          scale = va[i];
611 +                else if (va[i] < -scale)
612 +                        scale = -va[i];
613          }
614          if (scale <= FTINY)
615                  return(MG_EILL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines