Changeset 14405
- Timestamp:
- 08/24/12 12:00:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/DrsCalib.h
r14237 r14405 183 183 184 184 const int64_t div = gain[abs]; 185 vec[i] = d ouble(v)*scalegain/div;185 vec[i] = div==0 ? 0 : double(v)*scalegain/div; 186 186 } 187 187 } … … 211 211 212 212 const int64_t div = gain[abs]*scalerel; 213 vec[i] = d ouble(v)*scalegain/div;213 vec[i] = div==0 ? 0 : double(v)*scalegain/div; 214 214 } 215 215 } … … 986 986 987 987 #ifdef __MARS__ 988 const MTime now ;988 const MTime now(-1); 989 989 file.SetStr( "TELESCOP", "FACT", "Telescope that acquired this data"); 990 990 file.SetStr( "PACKAGE", "MARS", "Package name");
Note:
See TracChangeset
for help on using the changeset viewer.