diff --git a/tools/qfcc/source/expr_construct.c b/tools/qfcc/source/expr_construct.c index 5fbbb6caf..97f7914a4 100644 --- a/tools/qfcc/source/expr_construct.c +++ b/tools/qfcc/source/expr_construct.c @@ -257,7 +257,7 @@ math_constructor (const type_t *type, const expr_t *params, const expr_t *e) if (is_matrix (type)) { return construct_diagonal (type, param_exprs[0], e); } - if (is_vector (type)) { + if (is_nonscalar (type)) { return construct_broadcast (type, param_exprs[0], e); } }