Ignore:
Timestamp:
03/17/04 17:17:14 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc

    r3495 r3537  
    239239    return -1; // means: not found
    240240 
    241   Byte_t *ptr = fLoGainPos+lofirst;
    242   Byte_t *max = ptr;
    243   const Byte_t *end = fLoGainPos + fNumLoGainSamples;
     241  Byte_t *max = fLoGainPos+lofirst;
     242  Byte_t *ptr = max+1;
     243
     244  const Byte_t *end = fLoGainPos + fNumLoGainSamples + 1;
    244245 
    245246  do if (*ptr>*max) max = ptr;
Note: See TracChangeset for help on using the changeset viewer.