Commit 54b45530 authored by sparonuz's avatar sparonuz
Browse files

[Issue#81]: Added new instrinsic

parent 345c0777
......@@ -1043,7 +1043,7 @@ def type_of_contents(contents, routine=None, vault=None):
fun_name = find_called_function(contents)
if fun_name in vault.intrinsics:
if fun_name in ["reshape", "min", "max", "sum", "log", "log10", "maxval", "minval", "abs", "sqrt", "maxloc",
"minloc", "huge", "transfer", "sign"]:
"minloc", "huge", "tiny", "transfer", "sign"]:
try:
return type_of_contents(find_call_arguments(contents)[0], routine=routine, vault=vault)
except RecursionError as rec:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment