summaryrefslogtreecommitdiff
path: root/src/fun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fun.cpp')
-rw-r--r--src/fun.cpp2
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());