Ignore:
Timestamp:
Apr 11, 2000, 11:16:18 AM (26 years ago)
Author:
ansari
Message:

modif utilisation typeid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc

    r873 r874  
    9797
    9898  char Type[2];
    99   if (strncmp( typeid(T).name(),"r_8",3)==0 || strncmp( typeid(T).name(),"double",6)==0 ) Type[0]='D';
     99  if (typeid(T) == typeid(r_8) ) Type[0]='D';
    100100  else
    101     if (strncmp( typeid(T).name(),"r_4",3)==0 || strncmp( typeid(T).name(),"float",5)==0 )  Type[0]='E';
     101    if (typeid(T) == typeid(r_4) )  Type[0]='E';
    102102    else
    103103      {
Note: See TracChangeset for help on using the changeset viewer.