IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40157


Ignore:
Timestamp:
Oct 11, 2017, 9:50:26 AM (9 years ago)
Author:
eugene
Message:

minor changes

Location:
branches/eam_branches/ohana.20170809/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20170809/src/dvopsps/src/insert_detections_dvopsps_catalog.c

    r40114 r40157  
    7070
    7171//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)) {
    7374    fprintf (stderr, "failed to save detection file %s\n", RESULT_FILE);
    7475    status = FALSE;
  • branches/eam_branches/ohana.20170809/src/kapa2/src/DrawObjects.c

    r40107 r40157  
    522522    // coordinate on the screen of the point:
    523523    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;
    525525
    526526    if (sx1r < X0) {
     
    605605    n = goodPoint[i + 1];
    606606    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;
    608608
    609609    n = goodPoint[i - 1];
    610610    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;
    612612
    613613    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  
    5555  size_t size;                // total number of bytes requested (not items)
    5656
    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);
    5858
    5959  Nelem = MAX (1, Nelem);
     
    143143  size_t size;
    144144
    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);
    146146
    147147  // just allocate if not previously allocated
     
    257257  OhanaMemblock *ref;
    258258
    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);
    260260
    261261  if (!in) return;
Note: See TracChangeset for help on using the changeset viewer.