Changeset 12928
- Timestamp:
- 02/23/12 12:11:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mgui/MCamEvent.cc
r12920 r12928 65 65 Double_t MCamEvent::GetCameraMedian(const MGeomCam &cam, Int_t type) const 66 66 { 67 Int_t num = 0; 68 Double_t sum = 0; 69 Double_t sq = 0; 67 Int_t num = 0; 70 68 71 69 MArrayD arr(cam.GetNumPixels()); … … 76 74 continue; 77 75 78 arr[i] = val; 79 num ++; 76 arr[num++] = val; 80 77 } 81 78
Note:
See TracChangeset
for help on using the changeset viewer.