Skip to content

Commit b86e075

Browse files
fixed indentation (#56)
1 parent 86edc7b commit b86e075

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

metamapper/coreir_mapper.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ def gen_rules(self, ops, rule_file=None):
8686
new_rewrite_rule = read_serialized_bindings(rrs[op], ir_fc, arch_fc)
8787
counter_example = new_rewrite_rule.verify()
8888

89-
if counter_example is not None:
90-
print(counter_example)
91-
raise ValueError(f"RR for {op} fails with ^ Counter Example")
92-
self.table.add_peak_rule(new_rewrite_rule)
89+
if counter_example is not None:
90+
print(counter_example)
91+
raise ValueError(f"RR for {op} fails with ^ Counter Example")
92+
self.table.add_peak_rule(new_rewrite_rule)
9393

9494
def do_mapping(self, dag, convert_unbound=True, prove_mapping=True) -> coreir.Module:
9595
#Preprocess isolates coreir primitive modules

0 commit comments

Comments
 (0)