Mercurial > octave-libtiff
changeset 19337:d47e50953abc
Fix compilation of four of the six liboctave/numeric/*QR.cc (bug #43646).
* CmplxQR.cc (shift_cols): Use dim_vector, not octave_idx_type, in Array
constructor.
* dbleQR.cc (shift_cols): Use dim_vector, not octave_idx_type, in Array
constructor.
* fCmplxQR.cc: (shift_cols): Use dim_vector, not octave_idx_type, in Array
constructor.
* floatQR.cc: (shift_cols): Use dim_vector, not octave_idx_type, in Array
constructor.
author | Philipp Kutin <philipp.kutin@gmail.com> |
---|---|
date | Fri, 21 Nov 2014 11:48:06 +0100 |
parents | 3a905b642408 |
children | 16cdbe882ff5 |
files | liboctave/numeric/CmplxQR.cc liboctave/numeric/dbleQR.cc liboctave/numeric/fCmplxQR.cc liboctave/numeric/floatQR.cc |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/numeric/CmplxQR.cc Thu Nov 20 08:51:41 2014 -0800 +++ b/liboctave/numeric/CmplxQR.cc Fri Nov 21 11:48:06 2014 +0100 @@ -549,7 +549,7 @@ octave_idx_type i, octave_idx_type j) { octave_idx_type n = a.columns (); - Array<octave_idx_type> p (n); + Array<octave_idx_type> p (dim_vector (1, n)); for (octave_idx_type k = 0; k < n; k++) p(k) = k; if (i < j) {
--- a/liboctave/numeric/dbleQR.cc Thu Nov 20 08:51:41 2014 -0800 +++ b/liboctave/numeric/dbleQR.cc Fri Nov 21 11:48:06 2014 +0100 @@ -544,7 +544,7 @@ octave_idx_type i, octave_idx_type j) { octave_idx_type n = a.columns (); - Array<octave_idx_type> p (n); + Array<octave_idx_type> p (dim_vector (1, n)); for (octave_idx_type k = 0; k < n; k++) p(k) = k; if (i < j) {
--- a/liboctave/numeric/fCmplxQR.cc Thu Nov 20 08:51:41 2014 -0800 +++ b/liboctave/numeric/fCmplxQR.cc Fri Nov 21 11:48:06 2014 +0100 @@ -557,7 +557,7 @@ octave_idx_type i, octave_idx_type j) { octave_idx_type n = a.columns (); - Array<octave_idx_type> p (n); + Array<octave_idx_type> p (dim_vector (1, n)); for (octave_idx_type k = 0; k < n; k++) p(k) = k; if (i < j) {
--- a/liboctave/numeric/floatQR.cc Thu Nov 20 08:51:41 2014 -0800 +++ b/liboctave/numeric/floatQR.cc Fri Nov 21 11:48:06 2014 +0100 @@ -542,7 +542,7 @@ octave_idx_type i, octave_idx_type j) { octave_idx_type n = a.columns (); - Array<octave_idx_type> p (n); + Array<octave_idx_type> p (dim_vector (1, n)); for (octave_idx_type k = 0; k < n; k++) p(k) = k; if (i < j) {