diff liboctave/array/fDiagMatrix.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 d63878346099
line wrap: on
line diff
--- a/liboctave/array/fDiagMatrix.h
+++ b/liboctave/array/fDiagMatrix.h
@@ -98,8 +98,8 @@
 
   // other operations
 
-  FloatColumnVector diag (octave_idx_type k = 0) const
-    { return MDiagArray2<float>::diag (k); }
+  FloatColumnVector extract_diag (octave_idx_type k = 0) const
+    { return MDiagArray2<float>::extract_diag (k); }
 
   FloatDET determinant (void) const;
   float rcond (void) const;