Mercurial > hg > octave-nkf
diff src/DLD-FUNCTIONS/convhulln.cc @ 6880:e00a8f661f06
[project @ 2007-09-07 21:39:55 by dbateman]
author | dbateman |
---|---|
date | Fri, 07 Sep 2007 21:39:56 +0000 |
parents | 9fddcc586065 |
children | 62cf34f42539 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/convhulln.cc +++ b/src/DLD-FUNCTIONS/convhulln.cc @@ -50,7 +50,6 @@ #ifdef NEED_QHULL_VERSION char qh_version[] = "convhulln.oct 2007-07-24"; #endif -char flags[250]; #endif DEFUN_DLD (convhulln, args, , @@ -116,6 +115,8 @@ boolT ismalloc = False; + OCTAVE_LOCAL_BUFFER (char, flags, 250); + // hmm, lots of options for qhull here // QJ guarantees that the output will be triangles snprintf(flags, sizeof(flags), "qhull QJ %s", options.c_str());