IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38495


Ignore:
Timestamp:
Jun 19, 2015, 9:02:47 AM (11 years ago)
Author:
eugene
Message:

use ohana_memcheck not ohana_memcheck_func

Location:
branches/eam_branches/ipp-20150616/Ohana/src/relastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150616/Ohana/src/relastro/src/BrightCatalog.c

    r38441 r38495  
    349349  /*** MeasureTiny ***/
    350350  {
    351     ohana_memcheck_func (1);
     351    ohana_memcheck (1);
    352352    gfits_create_table_header (&theader, "BINTABLE", "MEASURE_TINY");
    353353
    354     ohana_memcheck_func (1);
     354    ohana_memcheck (1);
    355355    gfits_define_bintable_column (&theader, "D", "RA",       "ra",                         "degrees", 1.0, 0.0);
    356356    gfits_define_bintable_column (&theader, "D", "DEC",      "dec",                        "degrees", 1.0, 0.0);
     
    375375
    376376    // generate the output array that carries the data
    377     ohana_memcheck_func (1);
     377    ohana_memcheck (1);
    378378    gfits_create_table (&theader, &ftable);
    379     ohana_memcheck_func (1);
     379    ohana_memcheck (1);
    380380
    381381    // create intermediate storage arrays
     
    400400    int    *catID     ; ALLOCATE (catID    ,  int  ,  catalog->Nmeasure);
    401401    short  *photcode  ; ALLOCATE (photcode ,  short,  catalog->Nmeasure);
    402     ohana_memcheck_func (1);
     402    ohana_memcheck (1);
    403403
    404404    // assign the storage arrays
     
    426426      photcode[i] = measure[i].photcode ;
    427427    }
    428     ohana_memcheck_func (1);
     428    ohana_memcheck (1);
    429429
    430430    // add the columns to the output array
    431431    gfits_set_bintable_column (&theader, &ftable, "RA",         R,         catalog->Nmeasure);
    432     ohana_memcheck_func (1);
     432    ohana_memcheck (1);
    433433    gfits_set_bintable_column (&theader, &ftable, "DEC",        D,         catalog->Nmeasure);
    434     ohana_memcheck_func (1);
     434    ohana_memcheck (1);
    435435    gfits_set_bintable_column (&theader, &ftable, "ROFF_GAL",   RoffGAL,   catalog->Nmeasure);
    436436    gfits_set_bintable_column (&theader, &ftable, "DOFF_GAL",   DoffGAL,   catalog->Nmeasure);
  • branches/eam_branches/ipp-20150616/Ohana/src/relastro/src/FrameCorrectionUtils.c

    r37807 r38495  
    6262    ALLOCATE (frame->Roff[i], double, frame->Nra[i]);
    6363    ALLOCATE (frame->Doff[i], double, frame->Nra[i]);
    64     // ohana_memcheck_func (TRUE);
     64    // ohana_memcheck (TRUE);
    6565    // fprintf (stderr, "alloc : %d : %lx %lx\n", i, (long unsigned int)(size_t *) frame->Roff[i], (long unsigned int) (size_t *) frame->Doff[i]);
    6666  }
Note: See TracChangeset for help on using the changeset viewer.