Skip to content

Commit

Permalink
small fix for seal5.backends.coredsl2.writer when list of operands is…
Browse files Browse the repository at this point in the history
… empty 2
  • Loading branch information
PhilippvK committed Mar 27, 2024
1 parent 890c038 commit b4f9eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seal5/backends/coredsl2/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def write_instruction_constraints(self, constraints, operands):
def write_operands(self, operands):
self.write("operands: ")
if len(operands) == 0:
self.write_line("{};")
self.write_line("{}")
return
self.enter_block()
# print("operands", operands)
Expand Down

0 comments on commit b4f9eab

Please sign in to comment.