diff options
-rwxr-xr-x | sci_gateway/cpp/libscilab_octave.so | bin | 17160 -> 17160 bytes | |||
-rw-r--r-- | sci_gateway/cpp/sci_octave.cpp | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sci_gateway/cpp/libscilab_octave.so b/sci_gateway/cpp/libscilab_octave.so Binary files differindex 1c7e6cb..3a2f181 100755 --- a/sci_gateway/cpp/libscilab_octave.so +++ b/sci_gateway/cpp/libscilab_octave.so diff --git a/sci_gateway/cpp/sci_octave.cpp b/sci_gateway/cpp/sci_octave.cpp index bf47b9e..44d1593 100644 --- a/sci_gateway/cpp/sci_octave.cpp +++ b/sci_gateway/cpp/sci_octave.cpp @@ -135,6 +135,11 @@ int sci_octave_fun(scilabEnv env, int nin, scilabVar* in, int nopt, scilabOpt* o } } + else + { + Scierror(999, _("%s: Wrong type of input argument %d.\n"), fname, i); + return STATUS_ERROR; + } } int status_fun = fun(argptr, funptr); |