Mercurial > hg > octave-terminal
changeset 12018:d6ddf4f33b1c release-3-2-x
repmat.m: call cron, not spkron
author | Marco Caliari <marco.caliari@univr.it> |
---|---|
date | Thu, 25 Jun 2009 06:36:19 +0200 |
parents | 038885dcfb34 |
children | e1695d65a5ca |
files | scripts/ChangeLog scripts/general/repmat.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2009-06-24 Marco Caliari <marco.caliari@univr.it> + + * general/repmat.m: Call kron, not spkron. + 2009-06-24 Alexander Mamonov <mamonov@gmail.com> * plot/plot3.m: Correctly compute offsets for property/value pairs.
--- a/scripts/general/repmat.m +++ b/scripts/general/repmat.m @@ -64,7 +64,7 @@ x = reshape (x, idx); elseif (ndims (a) == 2 && length (idx) < 3) if (issparse (a)) - x = spkron (ones (idx), a); + x = kron (ones (idx), a); else ## indexing is now faster, so we use it rather than kron. m = rows (a); n = columns (a);