IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 8, 2014, 4:48:09 PM (12 years ago)
Author:
eugene
Message:

fix 2 problems found by optimization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/dvomerge/src/merge_catalogs_new.c

    r37116 r37472  
    1515  Naverage = output[0].Naverage;
    1616  Nmeasure = output[0].Nmeasure;
     17  Nlensing = output[0].Nlensing;
    1718
    1819  NsecfiltOut = output[0].Nsecfilt;
     
    2122  NAVERAGE = Naverage + 100;
    2223  NMEASURE = Nmeasure + 1000;
     24  NLENSING = Nlensing + 1000;
    2325
    2426  REALLOCATE (output[0].average, Average, NAVERAGE);
    2527  REALLOCATE (output[0].secfilt, SecFilt, NAVERAGE*NsecfiltOut);
    2628  REALLOCATE (output[0].measure, Measure, NMEASURE);
     29  REALLOCATE (output[0].lensing, Lensing, NLENSING);
    2730
    2831  // add all of these entries to the existing catalog
Note: See TracChangeset for help on using the changeset viewer.