Commit 47405bb2 authored by dbarbera's avatar dbarbera
Browse files

Fix typo

parent ac5a2a4b
......@@ -647,14 +647,14 @@ def check_type_compatibility(primary, type_ref, context):
return
elif isinstance(primary, ogAST.PrimInteger) \
and is_integer(basic_type) or type_ref == NUMERICAL:
and (is_integer(type_ref) or type_ref == NUMERICAL):
return
elif isinstance(primary, ogAST.PrimReal) \
and is_real(basic_type) or type_ref == NUMERICAL:
and (is_real(type_ref) or type_ref == NUMERICAL):
return
elif isinstance(primary, ogAST.PrimBoolean) and is_boolean(basic_type):
elif isinstance(primary, ogAST.PrimBoolean) and is_boolean(type_ref):
return
elif (isinstance(primary, ogAST.PrimEmptyString) and
......
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