Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/__voronoi__.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 |
comparison
equal
deleted
inserted
replaced
11552:6b6e9051ecb8 | 11553:01f703952eff |
---|---|
77 | 77 |
78 if (nargin == 2) | 78 if (nargin == 2) |
79 { | 79 { |
80 if (! args (1).is_string ()) | 80 if (! args (1).is_string ()) |
81 { | 81 { |
82 error ("__voronoi__: second argument must be a string"); | 82 error ("__voronoi__: OPTIONS argument must be a string"); |
83 return retval; | 83 return retval; |
84 } | 84 } |
85 | 85 |
86 options = args (1).string_value().c_str (); | 86 options = args (1).string_value().c_str (); |
87 } | 87 } |