Skip to content

Commit

Permalink
Remove unnecessary typecasts in a couple of places
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Gillespie committed Oct 30, 2024
1 parent 9e1457d commit 94e58ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ceno_zkvm/src/instructions/riscv/mulh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ mod test {
insn_code,
rs1 as u32,
rs2 as u32,
Change::new(0, signed_prod_high as u32),
Change::new(0, signed_prod_high),
0,
),
])
Expand All @@ -445,7 +445,7 @@ mod test {
cb.require_equal(
|| "assert_rd_written",
rd_written_expr,
Expression::from(signed_prod_high as u32),
Expression::from(signed_prod_high),
)
.unwrap();

Expand Down

0 comments on commit 94e58ab

Please sign in to comment.