Changeset 5756


Ignore:
Timestamp:
09/12/10 07:56:09 (15 years ago)
Author:
Eric.Larour
Message:

Better check on analysis_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/loadresultsfromdisk.m

    r5103 r5756  
    3838else
    3939
    40         md.analysis_type    =EnumToString(md.analysis_type);
    41         md.sub_analysis_type=EnumToString(md.sub_analysis_type);
     40        if isscalar(md.analysis_type),
     41                md.analysis_type    =EnumToString(md.analysis_type);
     42        end
     43        if isscalar(md.sub_analysis_type),
     44                md.sub_analysis_type=EnumToString(md.sub_analysis_type);
     45        end
    4246        md=postqmu(md);
    4347        cd ..
Note: See TracChangeset for help on using the changeset viewer.