From 0b23ba078128478260f4684769e35d84c12bed3a Mon Sep 17 00:00:00 2001 From: Vasiliy Olekhov Date: Wed, 11 Sep 2024 17:34:49 +0300 Subject: [PATCH] revert from master lookup options --- .../zk/snark/arithmetization/plonk/constraint_system.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/zk/include/nil/crypto3/zk/snark/arithmetization/plonk/constraint_system.hpp b/libs/zk/include/nil/crypto3/zk/snark/arithmetization/plonk/constraint_system.hpp index 7aea3b4fc..6300afef3 100644 --- a/libs/zk/include/nil/crypto3/zk/snark/arithmetization/plonk/constraint_system.hpp +++ b/libs/zk/include/nil/crypto3/zk/snark/arithmetization/plonk/constraint_system.hpp @@ -290,7 +290,7 @@ namespace nil { } } for (const auto& table : _lookup_tables) { - for( const auto &lookup_options: table.lookup_options ){ + for (std::size_t i = 0; i < table.lookup_options.size(); ++i) { // +3 because now any lookup option is lookup_column * lookup_selector * (1-q_last-q_blind) -- three polynomials degree rows_amount-1 if( lookup_chunk + 3 >= max_quotient_chunks ){ lookup_parts.push_back(lookup_part);