Changeset 874 in Sophya for trunk/SophyaExt/FitsIOServer/fitstarray.cc
- Timestamp:
- Apr 11, 2000, 11:16:18 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitstarray.cc
r873 r874 107 107 } 108 108 char type; 109 if ( strncmp( typeid(T).name(),"r_8",3)==0 || strncmp( typeid(T).name(),"double",6)==0) type='D';109 if ( typeid(T) == typeid(r_8) ) type='D'; 110 110 else 111 if ( strncmp( typeid(T).name(),"r_4",3)==0 || strncmp( typeid(T).name(),"float",5)==0) type='E';111 if ( typeid(T) == typeid(r_4) ) type='E'; 112 112 else 113 if ( strncmp( typeid(T).name(),"int_4",5)==0 || strncmp( typeid(T).name(),"int",3)==0) type='I';113 if ( typeid(T) == typeid(int_4) ) type='I'; 114 114 else 115 115 {
Note:
See TracChangeset
for help on using the changeset viewer.