Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Jul 14, 2023
1 parent cd72b08 commit cd51a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acvm/src/pwg/directives/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fn solve_directives_internal(
None => FieldElement::one(),
};

let (int_r, int_q) = if pred_value.is_zero() {
let (int_r, int_q) = if pred_value.is_zero() || int_b.is_zero() {
(BigUint::zero(), BigUint::zero())
} else {
(&int_a % &int_b, &int_a / &int_b)
Expand Down

0 comments on commit cd51a63

Please sign in to comment.