diff src/DLD-FUNCTIONS/__dsearchn__.cc @ 11553:01f703952eff

Improve docstrings for functions in DLD-FUNCTIONS directory. Use same variable names in error() strings and in documentation.
author Rik <octave@nomad.inbox5.com>
date Sun, 16 Jan 2011 22:13:23 -0800
parents fd0a3ac60b0e
children 12df7854fa7c
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/__dsearchn__.cc	Sat Jan 15 15:13:06 2011 -0800
+++ b/src/DLD-FUNCTIONS/__dsearchn__.cc	Sun Jan 16 22:13:23 2011 -0800
@@ -55,7 +55,7 @@
   if (! error_state)
     {
       if (x.rows() != xi.rows() || x.columns() < 1)
-        error ("__dsearch__: dimensional mismatch");
+        error ("__dsearch__: number of rows of X and XI must match");
       else
         {
           octave_idx_type n = x.rows();