Mercurial > octave-nkf
changeset 9108:b2459d21a207
fix intersect bug
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sat, 11 Apr 2009 14:06:57 +0200 |
parents | d0d507cbd123 |
children | 978c863bc8e5 |
files | scripts/ChangeLog scripts/set/intersect.m |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog Fri Apr 10 12:11:14 2009 -0400 +++ b/scripts/ChangeLog Sat Apr 11 14:06:57 2009 +0200 @@ -1,3 +1,7 @@ +2009-04-11 Jaroslav Hajek <highegg@gmail.com> + + * set/intersect.m: Add missing branch. + 2009-04-10 Ben Abbott <bpabbott@mac.com> * plot/print.m: If no pdf support in gnuplot, then "convert" from
--- a/scripts/set/intersect.m Fri Apr 10 12:11:14 2009 -0400 +++ b/scripts/set/intersect.m Sat Apr 11 14:06:57 2009 +0200 @@ -49,6 +49,9 @@ if (nargout > 1) [a, ja] = unique (a, varargin{:}); [b, jb] = unique (b, varargin{:}); + else + a = unique (a, varargin{:}); + b = unique (b, varargin{:}); endif if (nargin > 2)