From a9934a6c9ece76a47b355c268447eb82d45d0ba6 Mon Sep 17 00:00:00 2001 From: Tom French Date: Thu, 31 Oct 2024 11:31:31 +0000 Subject: [PATCH 1/2] fix: remove unnecessary generic --- src/fns/unconstrained_ops.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fns/unconstrained_ops.nr b/src/fns/unconstrained_ops.nr index b72f913b..7a8540d2 100644 --- a/src/fns/unconstrained_ops.nr +++ b/src/fns/unconstrained_ops.nr @@ -222,7 +222,7 @@ pub(crate) unconstrained fn __div( * 2. numerator % divisor = remainder * 3. divisor * quotient + remainder = numerator **/ -pub(crate) unconstrained fn __udiv_mod( +pub(crate) unconstrained fn __udiv_mod( numerator: [Field; N], divisor: [Field; N], ) -> ([Field; N], [Field; N]) { From 02ab59035fc668d3ee91565d741dccd745cf4727 Mon Sep 17 00:00:00 2001 From: Tom French Date: Thu, 31 Oct 2024 11:35:56 +0000 Subject: [PATCH 2/2] . --- src/fns/unconstrained_helpers.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fns/unconstrained_helpers.nr b/src/fns/unconstrained_helpers.nr index 694971e5..f6f7282d 100644 --- a/src/fns/unconstrained_helpers.nr +++ b/src/fns/unconstrained_helpers.nr @@ -29,7 +29,7 @@ pub(crate) unconstrained fn __validate_in_field_compute_borrow_flags( +pub(crate) unconstrained fn __validate_gt_remainder( lhs: [Field; N], rhs: [Field; N], ) -> ([Field; N], [bool; N], [bool; N]) {