Changeset 14935 for trunk/Mars/mcore/DrsCalib.h
- Timestamp:
- 02/20/13 14:49:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/DrsCalib.h
r14865 r14935 5 5 #include <errno.h> // errno 6 6 7 #ifndef MARS_fits 7 8 #include "fits.h" 9 #endif 10 11 #ifndef MARS_ofits 8 12 #include "ofits.h" 13 #endif 9 14 10 15 #ifdef __MARS__ … … 929 934 std::string ReadFitsImp(const std::string &str, std::vector<float> &vec) 930 935 { 936 #ifndef __MARS__ 931 937 std::fits file(str); 938 #else 939 fits file(str); 940 #endif 932 941 if (!file) 933 942 { … … 1054 1063 const size_t n = 1440*1024*4 + 1440*fRoi*2 + fNumTm*fRoi*2 + 3; 1055 1064 1065 #ifndef __MARS__ 1056 1066 std::ofits file(filename.c_str()); 1067 #else 1068 ofits file(filename.c_str()); 1069 #endif 1057 1070 if (!file) 1058 1071 {
Note:
See TracChangeset
for help on using the changeset viewer.