Changeset 37742
- Timestamp:
- Dec 13, 2014, 9:30:34 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src
- Files:
-
- 2 edited
-
AstromOffsetMapOps.c (modified) (1 diff)
-
dvo_catalog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/AstromOffsetMapOps.c
r37691 r37742 408 408 409 409 // bin for this point 410 ix = MAX(0, MIN(Nx , (int)(x[i] * map->dX)));411 iy = MAX(0, MIN(Ny , (int)(y[i] * map->dY)));410 ix = MAX(0, MIN(Nx-1, (int)(x[i] * map->dX))); 411 iy = MAX(0, MIN(Ny-1, (int)(y[i] * map->dY))); 412 412 int I = ix + Nx * iy; 413 413 -
branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/dvo_catalog.c
r37548 r37742 639 639 } 640 640 641 // NOTE: this only check if we can write a backup; it does not actually write the backup 641 642 if (!check_file_access (catalog[0].filename, BACKUP, READWRITE, VERBOSE)) { 642 643 fprintf (stderr, "no permission to access %s\n", catalog[0].filename);
Note:
See TracChangeset
for help on using the changeset viewer.
