aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/eval.c')
-rw-r--r--c/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/eval.c b/c/eval.c
index d227c91..c004813 100644
--- a/c/eval.c
+++ b/c/eval.c
@@ -20,7 +20,7 @@ targ2hosttype(enum typetag t)
#undef U
#undef S
} else if (t == TYLDOUBLE) return TYDOUBLE;
- else if (isfltt(t)) return t;
+ else if (isfltt(t) || iscomplext(t)) return t;
return 0;
}