summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci_gateway/cpp/sci_octave.cpp2
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);