Skip to content

Commit

Permalink
float_type assertion error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda849 committed Oct 23, 2023
1 parent 5bff437 commit 0a1cb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/parser_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def suffix_id(self, *suffix):
BF16 = lambda self, tok: astnodes.FloatTypeEnum("bf16")
F32 = lambda self, tok: astnodes.FloatTypeEnum("f32")
F64 = lambda self, tok: astnodes.FloatTypeEnum("f64")
float_type = astnodes.FloatType.from_lark
float_type = lambda self, tok: astnodes.FloatType(tok[0].value)
index_type = astnodes.IndexType.from_lark
signed_integer_type = astnodes.SignedIntegerType.from_lark
unsigned_integer_type = astnodes.UnsignedIntegerType.from_lark
Expand Down

0 comments on commit 0a1cb86

Please sign in to comment.