diff src/ov-re-sparse.cc @ 14469:29aabe9b37a2

Rename array-as-vector, array-as-scalar warning IDs to match documentation (bug #35838) * NEWS: Note change in name of warning IDS * ov-base-diag.cc, ov-bool-mat.cc, ov-bool-sparse.cc, ov-ch-mat.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-intx.h, ov-perm.cc, ov-range.cc, ov-re-mat.cc, ov-re-sparse.cc, ov.cc: Rename array-as-vector, array-as-scalar warning IDs to array-to-vector, array-to-scalar
author Rik <octave@nomad.inbox5.com>
date Thu, 15 Mar 2012 20:03:01 -0700
parents 72c96de7a403
children cb85e836d035
line wrap: on
line diff
--- a/src/ov-re-sparse.cc	Thu Mar 15 18:49:52 2012 -0400
+++ b/src/ov-re-sparse.cc	Thu Mar 15 20:03:01 2012 -0700
@@ -100,7 +100,7 @@
   if (numel () > 0)
     {
       if (numel () > 1)
-        gripe_implicit_conversion ("Octave:array-as-scalar",
+        gripe_implicit_conversion ("Octave:array-to-scalar",
                                    "real sparse matrix", "real scalar");
 
       retval = matrix (0, 0);
@@ -122,7 +122,7 @@
   if (rows () > 0 && columns () > 0)
     {
       if (numel () > 1)
-        gripe_implicit_conversion ("Octave:array-as-scalar",
+        gripe_implicit_conversion ("Octave:array-to-scalar",
                                    "real sparse matrix", "complex scalar");
 
       retval = matrix (0, 0);