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

Comparing ray/src/rt/mkpmap.c (file contents):
Revision 2.6 by rschregle, Mon Aug 14 21:12:10 2017 UTC vs.
Revision 2.7 by rschregle, Sat Dec 9 18:38:57 2017 UTC

# Line 271 | Line 271 | int main (int argc, char* argv [])
271                 pmapROI = realloc(pmapROI,
272                                   ++pmapNumROI * sizeof(PhotonMapROI));
273                 if (!pmapROI)
274 < 1                  error(SYSTEM, "failed to allocate ROI");
274 >                  error(SYSTEM, "failed to allocate ROI");
275                    
276                 pmapROI [n].min [0] = atof(argv [++i]);
277                 pmapROI [n].min [1] = atof(argv [++i]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines