56 trace.visit_column(PermutationSettings::SRC_SELECTOR, [&](uint32_t row,
const FF&) {
58 auto index_it =
row_idx.find(src_values);
59 if (index_it ==
row_idx.end() || index_it->second.empty()) {
60 throw std::runtime_error(
"Failed setting selectors for " + std::string(PermutationSettings::NAME) +
61 ". Could not find tuple in destination.\nSRC tuple (row " +
67 auto& possible_dst_rows = index_it->second;
68 uint32_t dst_row = possible_dst_rows.back();
69 trace.set(PermutationSettings::DST_SELECTOR, dst_row, 1);
72 possible_dst_rows.pop_back();