Changeset 187 for trunk/src/get_field.m


Ignore:
Timestamp:
Feb 1, 2011, 1:07:28 AM (13 years ago)
Author:
sommeria
Message:

various bug repairs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_field.m

    r180 r187  
    262262            end
    263263            if ~isempty(VarType{imax}.coord)
    264                 if numel(VarType{imax}.coord)>=maxdim-2
     264                if numel(VarType{imax}.coord)>=maxdim-2 && maxdim>=3
    265265                    set(handles.coord_z_scalar,'Value',VarType{imax}.coord(maxdim-2)+1)
    266266                end
     
    12141214   dir_perso=prefdir;
    12151215   profil_perso=fullfile(dir_perso,'uvmat_perso.mat');
     1216   get_field_fct={};
    12161217   for ilist=nb_builtin+1:length(menu_str)-1
    12171218       ff=functions(list_func_handles{ilist});
Note: See TracChangeset for help on using the changeset viewer.