Mercurial > hg > octave-lyh
comparison liboctave/dbleQRP.cc @ 11570:57632dea2446
attempt better backward compatibility for Array constructors
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 19 Jan 2011 17:55:56 -0500 |
parents | fd0a3ac60b0e |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
11569:7e9a111cae20 | 11570:57632dea2446 |
---|---|
64 | 64 |
65 Matrix afact = a; | 65 Matrix afact = a; |
66 if (m > n && qr_type == qr_type_std) | 66 if (m > n && qr_type == qr_type_std) |
67 afact.resize (m, m); | 67 afact.resize (m, m); |
68 | 68 |
69 MArray<octave_idx_type> jpvt (n, 1, 0); | 69 MArray<octave_idx_type> jpvt (dim_vector (n, 1), 0); |
70 | 70 |
71 if (m > 0) | 71 if (m > 0) |
72 { | 72 { |
73 // workspace query. | 73 // workspace query. |
74 double rlwork; | 74 double rlwork; |