From 9a9b42f14e07cfbed7d328e0c3ac2f3e043b1ac8 Mon Sep 17 00:00:00 2001 From: King Date: Tue, 31 Dec 2024 18:52:56 +0100 Subject: [PATCH] typo fix collapse.nr --- aztec/src/utils/array/collapse.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aztec/src/utils/array/collapse.nr b/aztec/src/utils/array/collapse.nr index 22ac88ae..3d86f5a5 100644 --- a/aztec/src/utils/array/collapse.nr +++ b/aztec/src/utils/array/collapse.nr @@ -9,7 +9,7 @@ pub fn collapse(input: [Option; N]) -> BoundedVec where T: Eq, { - // Computing the collpased BoundedVec would result in a very large number of constraints, since we'd need to loop + // Computing the collapsed BoundedVec would result in a very large number of constraints, since we'd need to loop // over the input array and conditionally write to a dynamic vec index, which is a very unfriendly pattern to the // proving backend. // Instead, we use an unconstrained function to produce the final collapsed array, along with some hints, and then