Bug#387137: [Pkg-octave-devel] Bug#387137: spkron(a,
b) not working when arguments are scalar
Thomas Weber
thomas.weber.mail at gmail.com
Tue Sep 12 14:28:43 UTC 2006
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
More information about the Pkg-octave-devel
mailing list