Ignore:
Timestamp:
04/06/04 13:58:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCamera.cc

    r3551 r3667  
    289289    }
    290290
    291     return Profile(mean/n);
     291    return n==0 ? 0 : Profile(mean/n);
    292292}
    293293
     
    316316        }
    317317    }
     318
     319    if (n==0)
     320        return 0;
    318321
    319322    sum /= n;
Note: See TracChangeset for help on using the changeset viewer.