Changeset 40157
- Timestamp:
- Oct 11, 2017, 9:50:26 AM (9 years ago)
- Location:
- branches/eam_branches/ohana.20170809/src
- Files:
-
- 3 edited
-
dvopsps/src/insert_detections_dvopsps_catalog.c (modified) (1 diff)
-
kapa2/src/DrawObjects.c (modified) (2 diffs)
-
libohana/src/ohana_allocate.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20170809/src/dvopsps/src/insert_detections_dvopsps_catalog.c
r40114 r40157 70 70 71 71 //if (!DetectionsSave (RESULT_FILE, detections, Ndetections)) { 72 if (!DetectionsSave ("/data/ipp110.0/eugene/3pi.dvo.catdirs/3pi.pv3.20170216/catdir.037/dvopsps.09762.24244.det.dat", detections, Ndetections)) { 72 //if (!DetectionsSave ("/data/ipp110.0/eugene/3pi.dvo.catdirs/3pi.pv3.20170216/catdir.037/dvopsps.09762.24244.det.dat", detections, Ndetections)) { 73 if (!DetectionsSave ("data/ipp110.0/eugene/3pi.dvo.catdirs/3pi.pv3.20170216/catdir.037/dvopsps.09762.24244.det.dat", detections, Ndetections)) { 73 74 fprintf (stderr, "failed to save detection file %s\n", RESULT_FILE); 74 75 status = FALSE; -
branches/eam_branches/ohana.20170809/src/kapa2/src/DrawObjects.c
r40107 r40157 522 522 // coordinate on the screen of the point: 523 523 double sx1r = x[i]*mxi + y[i]*mxj + bx + XCENTER; 524 double sy1r = x[i]*myi + y[i]*myj + by + YCENTER;524 // double sy1r = x[i]*myi + y[i]*myj + by + YCENTER; 525 525 526 526 if (sx1r < X0) { … … 605 605 n = goodPoint[i + 1]; 606 606 double sx2r = x[n]*mxi + y[n]*mxj + bx + XCENTER; 607 double sy2r = x[n]*myi + y[n]*myj + by + YCENTER;607 // double sy2r = x[n]*myi + y[n]*myj + by + YCENTER; 608 608 609 609 n = goodPoint[i - 1]; 610 610 double sx0r = x[n]*mxi + y[n]*mxj + bx + XCENTER; 611 double sy0r = x[n]*myi + y[n]*myj + by + YCENTER;611 // double sy0r = x[n]*myi + y[n]*myj + by + YCENTER; 612 612 613 613 double dx = 0.5*0.5*object->size*(sx2r - sx0r); // 2 factors of 0.5 (we want half of the average spacing) -
branches/eam_branches/ohana.20170809/src/libohana/src/ohana_allocate.c
r40115 r40157 55 55 size_t size; // total number of bytes requested (not items) 56 56 57 fprintf (stderr, "malloc: lastBlock: 0x%08lx, Nblock %d, Nelem: %zd, esize: %zd, (%s@%d : %s)\n", (long int) lastBlock, Nblock, Nelem, esize, file, line, func);57 // fprintf (stderr, "malloc: lastBlock: 0x%08lx, Nblock %d, Nelem: %zd, esize: %zd, (%s@%d : %s)\n", (long int) lastBlock, Nblock, Nelem, esize, file, line, func); 58 58 59 59 Nelem = MAX (1, Nelem); … … 143 143 size_t size; 144 144 145 fprintf (stderr, "realloc: lastBlock: 0x%08lx, Nblock %d, Nelem: %zd, esize: %zd, (%s@%d : %s)\n", (long int) lastBlock, Nblock, Nelem, esize, file, line, func);145 // fprintf (stderr, "realloc: lastBlock: 0x%08lx, Nblock %d, Nelem: %zd, esize: %zd, (%s@%d : %s)\n", (long int) lastBlock, Nblock, Nelem, esize, file, line, func); 146 146 147 147 // just allocate if not previously allocated … … 257 257 OhanaMemblock *ref; 258 258 259 fprintf (stderr, "free: lastBlock: 0x%08lx, Nblock %d, freeBlock: 0x%08lx, (%s@%d : %s)\n", (long int) lastBlock, Nblock, (long int) in, file, line, func);259 // fprintf (stderr, "free: lastBlock: 0x%08lx, Nblock %d, freeBlock: 0x%08lx, (%s@%d : %s)\n", (long int) lastBlock, Nblock, (long int) in, file, line, func); 260 260 261 261 if (!in) return;
Note:
See TracChangeset
for help on using the changeset viewer.
