Show
Ignore:
Timestamp:
01/03/08 20:28:10 (11 months ago)
Author:
peter
Message:

source/punch_fits.cpp:

Bug-fix - fix memory leak.

source/parse_table.cpp:
source/cdgetlinelist.cpp:
source/optimize_phymir.cpp:

Bug-fix - close open files.

source/cdinit.cpp:

Bug-fix - do not flush ioQQQ as it may not be open any longer.

source/cont_createpointers.cpp:

Bug-fix - fix out-of-bounds array access.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/cont_createpointers.cpp

    r1716 r1728  
    176176                                        /* check that energy scales are the same, to within energy resolution of arrays */ 
    177177#                                       ifndef NDEBUG 
    178                                         if( Transitions[ipISO][nelem][ipHi][ipLo].Emis->ipFine >= 0 ) 
     178                                        if( Transitions[ipISO][nelem][ipHi][ipLo].Emis->ipFine > 0 ) 
    179179                                        { 
    180180                                                realnum anuCoarse = rfield.anu[Transitions[ipISO][nelem][ipHi][ipLo].ipCont-1];