summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp
diff options
context:
space:
mode:
authorrupak2019-10-11 18:14:26 +0530
committerrupak2019-10-11 18:14:26 +0530
commit01779a9f1594491392d9db34c8ed3da61e8a3ab1 (patch)
tree44424490c262b5fc0085ba7f343ebae62010efcf /sci_gateway/cpp
parentac01f75eaa0475879647e8c6e1343e4c49d7c18c (diff)
downloadfossee-scilab-octave-toolbox-01779a9f1594491392d9db34c8ed3da61e8a3ab1.tar.gz
fossee-scilab-octave-toolbox-01779a9f1594491392d9db34c8ed3da61e8a3ab1.tar.bz2
fossee-scilab-octave-toolbox-01779a9f1594491392d9db34c8ed3da61e8a3ab1.zip
writing more test cases
Diffstat (limited to 'sci_gateway/cpp')
-rw-r--r--sci_gateway/cpp/sci_octave.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci_gateway/cpp/sci_octave.cpp b/sci_gateway/cpp/sci_octave.cpp
index 0e9c228..939d05b 100644
--- a/sci_gateway/cpp/sci_octave.cpp
+++ b/sci_gateway/cpp/sci_octave.cpp
@@ -155,6 +155,7 @@ int sci_octave_fun(scilabEnv env, int nin, scilabVar* in, int nopt, scilabOpt* o
if(ins[i].is_out_cmplx==1)
{
+ //printf("output %d is complex\n", i);
out[i] = scilab_createDoubleMatrix2d(env, ins[i].n_out_rows, ins[i].n_out_cols, 1);
double* out_real = NULL;
double* out_img = NULL;
@@ -175,6 +176,7 @@ int sci_octave_fun(scilabEnv env, int nin, scilabVar* in, int nopt, scilabOpt* o
}
else
{
+ //printf("output %d is NOT complex\n", i);
out[i] = scilab_createDoubleMatrix2d(env, ins[i].n_out_rows, ins[i].n_out_cols, 0);
double* out1 = NULL;
scilab_getDoubleArray(env, out[i], &out1);