Changeset 545


Ignore:
Timestamp:
Sep 16, 2012, 9:27:03 PM (12 years ago)
Author:
sommeria
Message:

bug repaired in phys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/phys.m

    r518 r545  
    187187    end
    188188end
    189 if isfield(DataOut.VarAttribute{3},'VarIndex_tps')
     189if isfield(DataOut,'VarAttribute')&&isfield(DataOut.VarAttribute{3},'VarIndex_tps')
    190190    DataOut.VarAttribute{3}=rmfield(DataOut.VarAttribute{3},'VarIndex_tps');
    191191end
Note: See TracChangeset for help on using the changeset viewer.