Ignore:
Timestamp:
09/04/16 10:02:10 (8 years ago)
Author:
tbretz
Message:
Fixed a logic flaw for old files without CLTYPE
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mraw/MRawFitsRead.cc

    r18573 r18574  
    184184
    185185        const string cltyped = Form("CLTYPE%d", i);
    186         const string cltype  = fin.HasKey(cltyped) ? fin.GetStr(cltyped) : clnamed;
    187186        const string clname  = fin.GetStr(clnamed);
     187        const string cltype  = fin.HasKey(cltyped) ? fin.GetStr(cltyped) : clname;
    188188
    189189        MParContainer *par = (MParContainer*)fParList->FindCreateObj(cltype.c_str(), clname.c_str());
Note: See TracChangeset for help on using the changeset viewer.