From 0276c756bb3f58cfc667daa9d31efe66ab96af0e Mon Sep 17 00:00:00 2001 From: querolita Date: Mon, 30 Oct 2023 20:37:10 +0100 Subject: [PATCH] adapt order of generics in witness layout --- kimchi/src/circuits/polynomials/keccak/witness.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kimchi/src/circuits/polynomials/keccak/witness.rs b/kimchi/src/circuits/polynomials/keccak/witness.rs index d6aa7971e2..bd0df8463c 100644 --- a/kimchi/src/circuits/polynomials/keccak/witness.rs +++ b/kimchi/src/circuits/polynomials/keccak/witness.rs @@ -5,9 +5,9 @@ use ark_ff::PrimeField; use super::KECCAK_COLS; -type _Layout = Vec>>>; +type _Layout = Vec, COLUMNS>>>; -fn _layout_round() -> _Layout { +fn _layout_round() -> _Layout { vec![ IndexCell::create("state_a", 0, 100), IndexCell::create("state_c", 100, 120), @@ -34,7 +34,7 @@ fn _layout_round() -> _Layout { ] } -fn _layout_sponge() -> _Layout { +fn _layout_sponge() -> _Layout { vec![ IndexCell::create("old_state", 0, 100), IndexCell::create("new_state", 100, 200),