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

  Switch to unified view

a/inst/@dataframe/permute.m b/inst/@dataframe/permute.m
...
...
83
    resu._over{2}(1, indc + (1:indi)) = true;    
83
    resu._over{2}(1, indc + (1:indi)) = true;    
84
  endif 
84
  endif 
85
  
85
  
86
  if (2 ~= perm(2)),
86
  if (2 ~= perm(2)),
87
    %# recompute the new type
87
    %# recompute the new type
88
    dummy = zeros (0, class (sum (cellfun (@(x) zeros (1, class(x(1))),\
88
    dummy = zeros (0, class (sum (cellfun (@(x) zeros (1, class(x(1))),...
89
                                           df._data))));
89
                                           df._data))));
90
    resu._type(1:resu._cnt(2)) = class (dummy);
90
    resu._type(1:resu._cnt(2)) = class (dummy);
91
    dummy = permute (df_whole(df), perm);
91
    dummy = permute (df_whole(df), perm);
92
    for indi = (1:resu._cnt(2))
92
    for indi = (1:resu._cnt(2))
93
      resu._data{indi} = squeeze (dummy(:, indi, :));
93
      resu._data{indi} = squeeze (dummy(:, indi, :));