Diff of /inst/@dataframe/isfield.m [7c0880] .. [45a112]  Maximize  Restore

Switch to unified view

a/inst/@dataframe/isfield.m b/inst/@dataframe/isfield.m
...
...
56
        endfor
56
        endfor
57
      endfor
57
      endfor
58
    else
58
    else
59
      for indi = (size (name, 1):-1:1)
59
      for indi = (size (name, 1):-1:1)
60
        try
60
        try
61
          dummy = df_name2idx (df._name{2}, name(indi, :), \
61
          dummy = df_name2idx (df._name{2}, name(indi, :), ...
62
                               df._cnt(2), 'column');
62
                               df._cnt(2), 'column');
63
          resu(indi, 1) = ~isempty (dummy);
63
          resu(indi, 1) = ~isempty (dummy);
64
          for indj = (1:length (dummy))
64
          for indj = (1:length (dummy))
65
            idx(indi, indj) = dummy(indj);
65
            idx(indi, indj) = dummy(indj);
66
          endfor
66
          endfor
...
...
77
        idx{indi, 1} = dummy;
77
        idx{indi, 1} = dummy;
78
      endfor
78
      endfor
79
    else
79
    else
80
      for indi = (length (name):-1:1)
80
      for indi = (length (name):-1:1)
81
        try
81
        try
82
          dummy = df_name2idx (df._name{2}, name{indi}, \
82
          dummy = df_name2idx (df._name{2}, name{indi}, ...
83
                               df._cnt(2), 'column');
83
                               df._cnt(2), 'column');
84
          keyboard
84
          keyboard
85
          resu{indi, 1} = ~isempty (dummy); idx{indi, 1} = dummy;
85
          resu{indi, 1} = ~isempty (dummy); idx{indi, 1} = dummy;
86
        catch
86
        catch
87
          resu{indi, 1} = false; cnt{indi, 1} = 0;
87
          resu{indi, 1} = false; cnt{indi, 1} = 0;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks