[Pkg-octave-devel] Bug#395293: octave2.9: kron(a,
b) does not work when a is sparse and b is bool
Esben Mose Hansen
esben at ange.dk
Thu Oct 26 09:46:11 CEST 2006
Package: octave2.9
Version: 2.9.9-3
Severity: normal
Doing the following kronecker product gives an error where 0 was expected
octave:1> kron(speye(1),false)
error: octave_base_value::sparse_matrix_value(): wrong type argument `bool'
Various "close" variations works as expected:
octave:1> kron(speye(1),sparse(false))
ans = 0
octave:2> kron(speye(1),[false false])
ans =
Compressed Column Sparse (rows = 1, cols = 2, nnz = 0)
octave:3> kron(speye(1),[])
ans = Compressed Column Sparse (rows = 0, cols = 0, nnz = 0)
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Versions of packages octave2.9 depends on:
ii atlas3-3dnow [liblapack. 3.6.0-20.2 Automatically Tuned Linear Algebra
ii atlas3-base [liblapack.s 3.6.0-20.2 Automatically Tuned Linear Algebra
ii atlas3-sse2 [liblapack.s 3.6.0-20.2 Automatically Tuned Linear Algebra
ii fftw3 3.1.2-1 library for computing Fast Fourier
ii lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines
ii libc6 2.3.6.ds1-6 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-16 GCC support library
ii libgfortran1 4.1.1-16 Runtime library for GNU Fortran ap
ii libglpk0 4.11-2 linear programming kit (shared lib
ii libhdf5-serial-1.6.5-0 [ 1.6.5-2.1 Hierarchical Data Format 5 (HDF5)
ii libncurses5 5.5-4 Shared libraries for terminal hand
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
ii libreadline5 5.1-9 GNU readline and history libraries
ii libstdc++6 4.1.1-16 The GNU Standard C++ Library v3
ii libufsparse 1.2-7 collection of libraries for comput
ii refblas3 [libblas.so.3] 1.2-8 Basic Linear Algebra Subroutines 3
ii texinfo 4.8.dfsg.1-3 Documentation system for on-line i
ii zlib1g 1:1.2.3-13 compression library - runtime
octave2.9 recommends no packages.
-- no debconf information
More information about the Pkg-octave-devel
mailing list