Ignore:
Timestamp:
Jan 17, 2006, 10:09:29 AM (20 years ago)
Author:
ansari
Message:

debug/check fits : gestion NTuple colonnes double + init hdunum_ ds FitsFile(FitsInOutFile&) + correction gestion TArray/TMatrix/TVector ds fitsarrhand.h - Reza 17/01/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsarrhand.h

    r2898 r2907  
    8888      if ( dobj == NULL) {
    8989        if (naxis == 1) dobj = new TVector<T>;
    90         else if (naxis == 1) dobj = new TMatrix<T>;
     90        else if (naxis == 2) {
     91          if ( (naxes[0] == 1) || (naxes[1] == 1) ) 
     92            dobj = new TVector<T>; 
     93          else dobj = new TMatrix<T>;
     94        }
    9195        else dobj = new TArray<T>;
    9296        ownobj = true;
Note: See TracChangeset for help on using the changeset viewer.