Skip to content

Commit

Permalink
Use bb's format.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarreiro committed Jan 10, 2025
1 parent b609f2e commit b37333c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "barretenberg/vm/avm/trace/execution.hpp"
#include "barretenberg/bb/log.hpp"
#include "barretenberg/common/log.hpp"
#include "barretenberg/common/serialize.hpp"
#include "barretenberg/common/thread.hpp"
#include "barretenberg/common/throw_or_abort.hpp"
Expand Down Expand Up @@ -31,6 +32,7 @@
#include <cstdint>
#include <cstdlib>
#include <filesystem>
#include <iomanip>
#include <stdexcept>
#include <string>
#include <tuple>
Expand Down Expand Up @@ -195,7 +197,7 @@ void show_trace_info(const auto& trace)
std::string fullnesses;
for (size_t j = i; j < i + 10 && j < column_stats.size(); j++) {
const auto& stat = column_stats.at(j);
fullnesses += std::format("{:3}: {:3}% ", stat.column_number, stat.fullness);
fullnesses += format(std::setw(3), stat.column_number, ": ", std::setw(3), stat.fullness, "% ");
}
vinfo(fullnesses);
}
Expand Down

0 comments on commit b37333c

Please sign in to comment.