diff scripts/optimization/pqpnonneg.m @ 10635:d1978e7364ad

Print name of function in error() string messages.
author Rik <octave@nomad.inbox5.com>
date Sun, 16 May 2010 22:26:54 -0700
parents 7c1b1c084af1
children be55736a0783
line wrap: on
line diff
--- a/scripts/optimization/pqpnonneg.m	Sun May 16 18:28:59 2010 -0700
+++ b/scripts/optimization/pqpnonneg.m	Sun May 16 22:26:54 2010 -0700
@@ -76,7 +76,7 @@
   m = rows (c);
   n = columns (c);
   if (m != n)
-    error ("matrix must be square");
+    error ("pqpnonneg: matrix must be square");
   endif
 
   if (isempty (x))