diff src/ov-cx-mat.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 e8e86ae3abbc
line wrap: on
line diff
--- a/src/ov-cx-mat.cc	Thu Mar 15 18:49:52 2012 -0400
+++ b/src/ov-cx-mat.cc	Thu Mar 15 20:03:01 2012 -0700
@@ -108,7 +108,7 @@
 
   if (rows () > 0 && columns () > 0)
     {
-      gripe_implicit_conversion ("Octave:array-as-scalar",
+      gripe_implicit_conversion ("Octave:array-to-scalar",
                                  "complex matrix", "real scalar");
 
       retval = std::real (matrix (0, 0));
@@ -130,7 +130,7 @@
 
   if (rows () > 0 && columns () > 0)
     {
-      gripe_implicit_conversion ("Octave:array-as-scalar",
+      gripe_implicit_conversion ("Octave:array-to-scalar",
                                  "complex matrix", "real scalar");
 
       retval = std::real (matrix (0, 0));
@@ -178,7 +178,7 @@
 
   if (rows () > 0 && columns () > 0)
     {
-      gripe_implicit_conversion ("Octave:array-as-scalar",
+      gripe_implicit_conversion ("Octave:array-to-scalar",
                                  "complex matrix", "complex scalar");
 
       retval = matrix (0, 0);
@@ -198,7 +198,7 @@
 
   if (rows () > 0 && columns () > 0)
     {
-      gripe_implicit_conversion ("Octave:array-as-scalar",
+      gripe_implicit_conversion ("Octave:array-to-scalar",
                                  "complex matrix", "complex scalar");
 
       retval = matrix (0, 0);