diff --git a/src/gates/poseidon.rs b/src/gates/poseidon.rs index 8ae5b2ad..c918c17a 100644 --- a/src/gates/poseidon.rs +++ b/src/gates/poseidon.rs @@ -307,13 +307,12 @@ where one, state[0], ); - state = - >::mds_partial_layer_fast_field_recursive(builder, &state, r); + state = >::mds_partial_layer_fast_recursive(builder, &state, r); } let sbox_in = vars.local_wires[Self::wire_partial_sbox(poseidon::N_PARTIAL_ROUNDS - 1)]; constraints.push(builder.sub_extension(state[0], sbox_in)); state[0] = >::sbox_monomial_recursive(builder, sbox_in); - state = >::mds_partial_layer_fast_field_recursive( + state = >::mds_partial_layer_fast_recursive( builder, &state, poseidon::N_PARTIAL_ROUNDS - 1,