diff options
author | KRIXUS-alpha | 2021-07-02 12:57:54 +0530 |
---|---|---|
committer | KRIXUS-alpha | 2021-07-02 12:57:54 +0530 |
commit | d08d601e062058ba20bf36c240cc558ee88d9111 (patch) | |
tree | 4943da0c4486be06a7684b2556a740d3214db27b /src/fun.cpp | |
parent | 884558103568b38503b5010253cdd9d02d001c70 (diff) | |
parent | 66ab875f7a0de3acaa0c9e2b1a8eb4ebee5f2481 (diff) | |
download | fossee-scilab-octave-toolbox-d08d601e062058ba20bf36c240cc558ee88d9111.tar.gz fossee-scilab-octave-toolbox-d08d601e062058ba20bf36c240cc558ee88d9111.tar.bz2 fossee-scilab-octave-toolbox-d08d601e062058ba20bf36c240cc558ee88d9111.zip |
Merge remote-tracking branch 'detailer/master'
Diffstat (limited to 'src/fun.cpp')
-rw-r--r-- | src/fun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fun.cpp b/src/fun.cpp index ab2afca..18c3395 100644 --- a/src/fun.cpp +++ b/src/fun.cpp @@ -281,7 +281,7 @@ extern "C" outStruct[j].str = malloc(sizeof(wchar_t) * (currValueStr.length() + 1));
mbstowcs((wchar_t*) outStruct[j].str, currValueStr.c_str(), currValueStr.length() + 1);
}
- else {
+ else if (currValue.is_double_type()){
outStruct[j].type = TYPE_DOUBLE;
Matrix currValueMatrix(currValue.matrix_value());
|