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

Comparing ray/src/common/bsdf_t.c (file contents):
Revision 3.18 by greg, Tue Jun 28 21:13:46 2011 UTC vs.
Revision 3.19 by greg, Thu Jul 7 15:25:09 2011 UTC

# Line 710 | Line 710 | SDsampTreCDist(FVECT ioVec, double randX, const SDCDst
710                                          /* binary search to find position */
711          ilower = 0; iupper = cd->calen;
712          while ((i = (iupper + ilower) >> 1) != ilower)
713 <                if ((long)target >= (long)cd->carr[i].cuml)
713 >                if (target >= cd->carr[i].cuml)
714                          ilower = i;
715                  else
716                          iupper = i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines