changeset 9388:5556563c6551

repmat.m: call cron, not spkron
author Marco Caliari <marco.caliari@univr.it>
date Wed, 24 Jun 2009 12:41:06 -0400
parents 68f4034d4e7e
children 0f85d9564057
files scripts/ChangeLog scripts/general/repmat.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed Jun 24 12:30:08 2009 -0400
+++ b/scripts/ChangeLog	Wed Jun 24 12:41:06 2009 -0400
@@ -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	Wed Jun 24 12:30:08 2009 -0400
+++ b/scripts/general/repmat.m	Wed Jun 24 12:41:06 2009 -0400
@@ -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);