Diff of /inst/@dataframe/private/df_pad.m [4130dc] .. [f24aa1]  Maximize  Restore

Switch to side-by-side view

--- a/inst/@dataframe/private/df_pad.m
+++ b/inst/@dataframe/private/df_pad.m
@@ -58,13 +58,13 @@
               dummy = vertcat (df._data{indi}, dummy);
             case { 'double'}
               dummy = vertcat (df._data{indi}, repmat (NA, neff, m));
-	    %# there is no 'NA' with logical values, avoid casting error
-	    case {'logical'}
-	      dummy = vertcat (df._data{indi}, repmat (false, neff, m));
+            %# there is no 'NA' with logical values, avoid casting error
+            case {'logical'}
+              dummy = vertcat (df._data{indi}, repmat (false, neff, m));
             otherwise
-	      dummy = cast (vertcat (df._data{indi}, repmat (NA, neff, m)), ...
+              dummy = cast (vertcat (df._data{indi}, repmat (NA, neff, m)), ...
                             df._type{indi});
-	  endswitch
+          endswitch
           df._data{indi} = dummy;
         endif
       endfor
@@ -91,7 +91,7 @@
           df._rep(n + (indc+1:end)) = df._rep(indc+1:end);
           df._data(indc + (1:n)) = NA;
           df._rep(indc + (1:n)) = 1;
-	endif
+        endif
       else
         %# add new values after the last column
         indc = min (size (df._data, 2), df._cnt(2)); 
@@ -143,11 +143,11 @@
             if (isa (df._data{indi}, 'char')) %# pure char
               dummy = horzcat (df._data{indi}(:, df._rep{indi}), ...
                                repmat({NA}, df._cnt(1), 1));
-	      keyboard
+              keyboard
             else
               dummy =  horzcat (df._data{indi}(:, df._rep{indi}), ...
-				repmat({NA}, df._cnt(1), 1));
-	    endif
+                                repmat({NA}, df._cnt(1), 1));
+            endif
           case {'double'}
             dummy = horzcat (df._data{indi}(:, df._rep{indi}), ...
                              repmat (NA, df._cnt(1), 1));
@@ -162,11 +162,11 @@
         endswitch
         df._data{indi} = dummy;
         df._rep{indi} = [df._rep{indi} length(df._rep{indi})+ones(1, n)];
-	try
-	  assert (size(df._data{indi}, 2), max(df._rep{indi}))
-	catch
-	  keyboard
-	end_try_catch
+        try
+          assert (size(df._data{indi}, 2), max(df._rep{indi}))
+        catch
+          keyboard
+        end_try_catch
       endfor
       df =  df_thirddim (df);
     otherwise

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks