Skip to content

Commit

Permalink
fix: remove unnecessary generic (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Nov 1, 2024
1 parent cdcb2b7 commit 1eb64aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fns/unconstrained_helpers.nr
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub(crate) unconstrained fn __validate_in_field_compute_borrow_flags<let N: u32,
flags
}

pub(crate) unconstrained fn __validate_gt_remainder<let N: u32, let MOD_BITS: u32>(
pub(crate) unconstrained fn __validate_gt_remainder<let N: u32>(
lhs: [Field; N],
rhs: [Field; N],
) -> ([Field; N], [bool; N], [bool; N]) {
Expand Down
2 changes: 1 addition & 1 deletion src/fns/unconstrained_ops.nr
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ pub(crate) unconstrained fn __div<let N: u32, let MOD_BITS: u32>(
* 2. numerator % divisor = remainder
* 3. divisor * quotient + remainder = numerator
**/
pub(crate) unconstrained fn __udiv_mod<let N: u32, let MOD_BITS: u32>(
pub(crate) unconstrained fn __udiv_mod<let N: u32>(
numerator: [Field; N],
divisor: [Field; N],
) -> ([Field; N], [Field; N]) {
Expand Down

0 comments on commit 1eb64aa

Please sign in to comment.