diff liboctave/numeric/oct-convn.cc @ 29931:7faff48840eb

prefer data over fortran_vec for read-only access to data See also the discussion here: https://octave.discourse.group/t/rename-uses-of-fortran-vec-to-data-for-clarity/1439 * Array.h (const T * Array<T>::fortran_vec (void) const): Deprecate. Change all uses to call data instead.
author John W. Eaton <jwe@octave.org>
date Fri, 30 Jul 2021 11:46:05 -0400
parents 89bdb44db76f
children 6549fa7558ba
line wrap: on
line diff
--- a/liboctave/numeric/oct-convn.cc	Fri Jul 30 17:34:10 2021 +0200
+++ b/liboctave/numeric/oct-convn.cc	Fri Jul 30 11:46:05 2021 -0400
@@ -178,8 +178,8 @@
     if (c.isempty ())
       return c;
 
-    convolve_nd<T, R> (a.fortran_vec (), adims, adims.cumulative (),
-                       b.fortran_vec (), bdims, bdims.cumulative (),
+    convolve_nd<T, R> (a.data (), adims, adims.cumulative (),
+                       b.data (), bdims, bdims.cumulative (),
                        c.fortran_vec (), cdims.cumulative (),
                        nd, ct == convn_valid);