diff src/DLD-FUNCTIONS/gammainc.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/gammainc.cc	Sat Jan 15 15:13:06 2011 -0800
+++ b/src/DLD-FUNCTIONS/gammainc.cc	Sun Jan 16 22:13:23 2011 -0800
@@ -89,10 +89,10 @@
           if (s == "upper")
             lower = false;
           else if (s != "lower")
-            error ("expecting third argument to be \"lower\" or \"upper\"");
+            error ("gammainc: third argument must be \"lower\" or \"upper\"");
         }
       else
-        error ("expecting third argument to be \"lower\" or \"upper\"");
+        error ("gammainc: third argument must be \"lower\" or \"upper\"");
 
     }