Diff of /inst/@dataframe/private/df_matassign.m [c29044] .. [067a6b]  Maximize  Restore

Switch to side-by-side view

--- a/inst/@dataframe/private/df_matassign.m
+++ b/inst/@dataframe/private/df_matassign.m
@@ -280,7 +280,7 @@
       endfor
       indi = nrow;
       while (indi > 0)
-        if (1 == eff_len(indi))
+        if (eff_len(indi) < ncol)
           nrow = nrow - 1;
           indr(end) = [];
           RHS(end, :) = [];
@@ -295,7 +295,7 @@
       endwhile
       clear eff_len;
     endif
-    
+
     %# the real assignement
     if (1 == size (RHS, 1)) %# each cell contains one vector
       fillfunc = @(x) RHS{x};