# HG changeset patch # User Marco Caliari # Date 1245861666 14400 # Node ID 5556563c6551c7696659315d987204e7867174a1 # Parent 68f4034d4e7e5300ee6ce3ce73cee9d92927bab9 repmat.m: call cron, not spkron diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2009-06-24 Marco Caliari + + * general/repmat.m: Call kron, not spkron. + 2009-06-24 Alexander Mamonov * plot/plot3.m: Correctly compute offsets for property/value pairs. diff --git a/scripts/general/repmat.m b/scripts/general/repmat.m --- 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);