changeset 33090:f1cb625c8eb5

maint: use rwdata() in preference to fortran_vec(). * sqrtm.cc (sqrtm_utri_inplace): Replace fortran_vec() call with rwdata().
author Rik <rik@octave.org>
date Sun, 25 Feb 2024 21:20:56 -0800
parents 49dec190c4da
children 6c44d6d505f5
files libinterp/corefcn/sqrtm.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/sqrtm.cc	Sat Feb 24 18:45:06 2024 -0500
+++ b/libinterp/corefcn/sqrtm.cc	Sun Feb 25 21:20:56 2024 -0800
@@ -79,7 +79,7 @@
         break;
     }
 
-  element_type *mp = m.fortran_vec ();
+  element_type *mp = m.rwdata ();
   if (diagonal)
     {
       // shortcut for diagonal Schur matrices