Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/ksp_compiler_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def visitFunctionCall(self, parent, node, *args):

if not is_text:
# special case: these three functions return an integer or real depending on what param type is given
if function_name in ('abs', 'sgn', 'signbit') and passed_param.type in ('integer', 'real'):
if function_name in ('abs', 'sgn', 'signbit') and passed_param.type in ('integer', 'real', 'integer array', 'real array'):
node.type = passed_param.type
elif 'any-array-variable' in param_descriptor:
if not passed_param.type in ('integer array', 'real array', 'string array'):
Expand Down