Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove unnecessary generic #42

Merged
merged 2 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading