Skip to content

Commit ef277ef

Browse files
david-plweinbe58
andauthored
Update src/bloqade/squin/op/rewrite.py
Co-authored-by: Phillip Weinberg <[email protected]>
1 parent 4a3f139 commit ef277ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bloqade/squin/op/rewrite.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ def rewrite_Statement(self, node: ir.Statement) -> RewriteResult:
3737
node.replace_by(scale)
3838
return RewriteResult(has_done_something=True)
3939

40-
raise ValueError(
41-
"Rewrite of py.binop.mult failed. This exception should not be reachable, please report this issue."
42-
)
40+
return RewriteResult()
4341

4442

4543
class PyMultToSquinMult(Pass):

0 commit comments

Comments
 (0)