Mercurial > hg > octave-lyh
diff liboctave/array/CDiagMatrix.h @ 15448:0a0912a9ab6e
Replace deprecated DiagArray2<T>::diag calls with DiagArray2<T>::extract_diag
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Thu, 27 Sep 2012 17:00:45 -0400 |
parents | 648dabbb4c6b |
children |
line wrap: on
line diff
--- a/liboctave/array/CDiagMatrix.h +++ b/liboctave/array/CDiagMatrix.h @@ -120,8 +120,8 @@ // other operations - ComplexColumnVector diag (octave_idx_type k = 0) const - { return MDiagArray2<Complex>::diag (k); } + ComplexColumnVector extract_diag (octave_idx_type k = 0) const + { return MDiagArray2<Complex>::extract_diag (k); } ComplexDET determinant (void) const; double rcond (void) const;