Skip to content

Commit

Permalink
Removed couts #100
Browse files Browse the repository at this point in the history
  • Loading branch information
ETatuzova committed Oct 23, 2024
1 parent 09a7395 commit c8160b5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,14 @@ namespace nil {

// Does not support public input columns.
if( table_description_->public_input_columns != 0 ) {
std::cout << "I have real input" << std::endl;
std::size_t max_non_zero = 0;
const auto&public_input = assignment_table_->public_input(0);
std::cout << "Public input size = " << public_input.size() << std::endl;
for (std::size_t i = 0; i < public_input.size(); i++) {
std::cout << "i = " << i << public_input[i] << std::endl;
if (public_input[i] != 0u) {
max_non_zero = i + 1;
}
}
std::cout << "Max non zero = " << max_non_zero << std::endl;
for (std::size_t i = 0; i < std::min(public_input.size(), max_non_zero); i++) {
pi_stream << public_input[i] << "\n";
}
Expand Down

0 comments on commit c8160b5

Please sign in to comment.