Changeset 19341 for trunk/Mars
- Timestamp:
- 10/30/18 17:55:27 (6 years ago)
- Location:
- trunk/Mars/mcorsika
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcorsika/MCorsikaEvtHeader.cc
r19336 r19341 181 181 { 182 182 vector<Float_t> f(blockLength); 183 if (!fInFormat->Read(f.data(), blockLength ))183 if (!fInFormat->Read(f.data(), blockLength*sizeof(Float_t))) 184 184 return kERROR; 185 185 -
trunk/Mars/mcorsika/MCorsikaRunHeader.cc
r19332 r19341 99 99 { 100 100 vector<Float_t> f(blockLength); 101 if (!fInFormat->Read(f.data(), blockLength ))101 if (!fInFormat->Read(f.data(), blockLength*sizeof(Float_t))) 102 102 return kFALSE; 103 103
Note:
See TracChangeset
for help on using the changeset viewer.