Mercurial > octave-nkf
comparison libinterp/dldfcn/__voronoi__.cc @ 20614:10ec79b47808
use new string_value method to handle value extraction errors
* __voronoi__.cc, chol.cc, colamd.cc, fftw.cc:
Use new string_value method.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Oct 2015 18:15:56 -0400 |
parents | 4197fc428c7d |
children |
comparison
equal
deleted
inserted
replaced
20613:647db46ad754 | 20614:10ec79b47808 |
---|---|
85 Undocumented internal function.\n\ | 85 Undocumented internal function.\n\ |
86 @end deftypefn") | 86 @end deftypefn") |
87 { | 87 { |
88 octave_value_list retval; | 88 octave_value_list retval; |
89 | 89 |
90 std::string caller = args(0).string_value (); | 90 std::string caller = args(0).string_value ("__voronoi__: CALLER must be a string"); |
91 | 91 |
92 #if defined (HAVE_QHULL) | 92 #if defined (HAVE_QHULL) |
93 | 93 |
94 retval(0) = 0.0; | 94 retval(0) = 0.0; |
95 | 95 |