Skip to content

Commit

Permalink
Change unnecessary generic constant with hard-coded value for readabi…
Browse files Browse the repository at this point in the history
…lity
  • Loading branch information
Bryan Gillespie committed Dec 11, 2024
1 parent 92d44d5 commit 4425c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/div.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl<E: ExtensionField, I: RIVInstruction> Instruction<E> for ArithInstruction<E
|| "quotient_zero_division",
is_divisor_zero.expr(),
quotient.value(),
((1u64 << UInt::<E>::TOTAL_BITS) - 1).into(),
u32::MAX.into(),
quotient.value(),
)?;

Expand Down

0 comments on commit 4425c13

Please sign in to comment.