Skip to content

Commit

Permalink
Remove unnecessary clones
Browse files Browse the repository at this point in the history
Copy-and-paste coding, again.  See 47f5572 / #463
  • Loading branch information
matthiasgoergens committed Oct 28, 2024
1 parent 47f5572 commit 8b53f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/shift_imm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl<E: ExtensionField, I: RIVInstruction> Instruction<E> for ShiftImmInstructio
let is_rs1_neg = IsLtConfig::construct_circuit(
circuit_builder,
|| "lhs_msb",
max_signed_limb_expr.clone(),
max_signed_limb_expr,
rs1_read.limbs.iter().last().unwrap().expr(), // msb limb
1,
)?;
Expand Down
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/slti.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl<E: ExtensionField> Instruction<E> for SltiInstruction<E> {
let is_rs1_neg = IsLtConfig::construct_circuit(
cb,
|| "lhs_msb",
max_signed_limb_expr.clone(),
max_signed_limb_expr,
rs1_read.limbs.iter().last().unwrap().expr(), // msb limb
1,
)?;
Expand Down

0 comments on commit 8b53f73

Please sign in to comment.