Hi, Am Dienstag, den 12.09.2006, 14:39 +0200 schrieb Nicolas Guilbert: > Package: octave2.9 > Version: 2.9.8-1 > > Steps to reproduce: > octave-2.9.8:1> spkron(2,3) > error: octave_base_value::sparse_matrix_value(): wrong type argument `scalar' > error: octave_base_value::sparse_matrix_value(): wrong type argument `scalar' > > would expect > > ans = 6
Try spkron(sparse(2), sparse(3)) I don't consider this a bug. The overhead for sparse-implementations just doesn't make sense for scalars. Regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]