Changeset 3667 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 04/06/04 13:58:05 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r3551 r3667 289 289 } 290 290 291 return Profile(mean/n);291 return n==0 ? 0 : Profile(mean/n); 292 292 } 293 293 … … 316 316 } 317 317 } 318 319 if (n==0) 320 return 0; 318 321 319 322 sum /= n;
Note:
See TracChangeset
for help on using the changeset viewer.