From: <cde...@us...> - 2010-12-08 17:07:42
|
Revision: 7998 http://octave.svn.sourceforge.net/octave/?rev=7998&view=rev Author: cdemills Date: 2010-12-08 17:07:35 +0000 (Wed, 08 Dec 2010) Log Message: ----------- Ensure inds is a row vector Modified Paths: -------------- trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_cow.m Modified: trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_cow.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_cow.m 2010-12-08 14:49:12 UTC (rev 7997) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_cow.m 2010-12-08 17:07:35 UTC (rev 7998) @@ -39,7 +39,7 @@ inds = S.subs{2}; endif - for indi = inds, + for indi = inds(:).', dummy = df._rep{col}; dummy(indi) = 0; [t1, t2] = ismember(df._rep{col}(indi)(:), dummy); for indj = t2(find(t2)), %# Copy-On-Write This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |