diff options
author | detailer | 2021-05-11 17:21:15 +0530 |
---|---|---|
committer | detailer | 2021-05-11 17:21:15 +0530 |
commit | 89459fb1b9b44d9e0acb35bf256b482828055d5f (patch) | |
tree | be69ace4ab6575f8da9d530bab8f16eaa442d087 | |
parent | a938a95dd5b903f2e1f242e70b9db368ff422f41 (diff) | |
download | fossee-scilab-octave-toolbox-89459fb1b9b44d9e0acb35bf256b482828055d5f.tar.gz fossee-scilab-octave-toolbox-89459fb1b9b44d9e0acb35bf256b482828055d5f.tar.bz2 fossee-scilab-octave-toolbox-89459fb1b9b44d9e0acb35bf256b482828055d5f.zip |
O/P Real DOUBLE matrix creation fixed
-rw-r--r-- | sci_gateway/cpp/sci_octave.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sci_gateway/cpp/sci_octave.cpp b/sci_gateway/cpp/sci_octave.cpp index dcc3af0..377506a 100644 --- a/sci_gateway/cpp/sci_octave.cpp +++ b/sci_gateway/cpp/sci_octave.cpp @@ -347,7 +347,7 @@ extern "C" scilab_setStructMatrix2dData(env, out[i], (const wchar_t*) outStruct[j].key, 0, 0, currValue); } else if (outStruct[j].type == TYPE_DOUBLE){ - currValue = scilab_createDoubleMatrix2d(env, outStruct[j].rows, outStruct[j].cols, 1); + currValue = scilab_createDoubleMatrix2d(env, outStruct[j].rows, outStruct[j].cols, 0); double *outReal = NULL; scilab_getDoubleArray(env, currValue, &outReal); |