Mercurial > hg > octave-lyh
changeset 13880:1dc120c06ce0
finish previous change to __voronoi__
* __ voronoi__.cc (F__voronoi__): Process opt_arg, not args(1).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 17 Nov 2011 14:14:10 -0500 |
parents | 440d7914cf01 |
children | da929884f51e |
files | src/DLD-FUNCTIONS/__voronoi__.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/__voronoi__.cc +++ b/src/DLD-FUNCTIONS/__voronoi__.cc @@ -96,10 +96,10 @@ octave_value opt_arg = args(2); if (opt_arg.is_string ()) - options = " " + args(1).string_value (); + options = " " + opt_arg.string_value (); else if (opt_arg.is_empty ()) ; // Use default options. - else if (args(1).is_cellstr ()) + else if (opt_arg.is_cellstr ()) { options = "";