Mercurial > hg > octave-nkf
changeset 19536:718aaf1e84f7
kron.cc: Use column vector in undeprecated Array constructor (cset 1f4455ff2329).
* kron.cc: Use column vector in undeprecated Array constructor
(cset 1f4455ff2329).
author | Rik <rik@octave.org> |
---|---|
date | Sat, 22 Nov 2014 10:49:54 -0800 |
parents | fcd9e1198847 |
children | 8f6a8422435d |
files | libinterp/corefcn/kron.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/kron.cc +++ b/libinterp/corefcn/kron.cc @@ -138,7 +138,7 @@ octave_idx_type nb = b.rows (); const Array<octave_idx_type>& pa = a.col_perm_vec (); const Array<octave_idx_type>& pb = b.col_perm_vec (); - Array<octave_idx_type> res_perm (dim_vector (1, na * nb)); + Array<octave_idx_type> res_perm (dim_vector (na * nb, 1)); octave_idx_type rescol = 0; for (octave_idx_type i = 0; i < na; i++) {