Mercurial > octave
changeset 28790:edc52732a3d3
__marching_cube__.m: Remove nargin/nargout checking on internal function.
* __marching_cube__.m: Remove nargin/nargout checking on internal function.
This should only ever be called by other Octave functions, not users, so
the programmer should get this right.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 24 Sep 2020 15:24:54 -0700 |
parents | 28de41192f3c |
children | d6eb50288af7 |
files | scripts/plot/draw/private/__marching_cube__.m |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/private/__marching_cube__.m Thu Sep 24 14:44:58 2020 -0700 +++ b/scripts/plot/draw/private/__marching_cube__.m Thu Sep 24 15:24:54 2020 -0700 @@ -94,11 +94,6 @@ [edge_table, tri_table] = init_mc (); endif - ## FIXME: Do we need all of the following validation on an internal function? - if ((nargin != 5 && nargin != 6) || (nargout != 2 && nargout != 3)) - print_usage (); - endif - if (! isnumeric (xx) || ! isnumeric (yy) || ! isnumeric (zz) || ! isnumeric (c) || ndims (xx) != 3 || ndims (yy) != 3 || ndims (zz) != 3 || ndims (c) != 3)