diff options
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());
|