Ignore:
Timestamp:
Mar 15, 2010, 5:43:08 PM (11 years ago)
Author:
gostiaux
Message:

various bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_get_field.m

    r34 r47  
    588588    end
    589589    ind_select=find(npxy~=1);%look for non singleton dimensions
    590     DimCellU=DimCellU(ind_select);
     590    if numel(DimCellU)>=ind_select
     591        DimCellU=DimCellU(ind_select);
     592    end
    591593    npxy=npxy(ind_select);
    592594    dimU=[];
Note: See TracChangeset for help on using the changeset viewer.