Skip to content

Commit

Permalink
comment out extra logging
Browse files Browse the repository at this point in the history
  • Loading branch information
karasikov committed Nov 8, 2021
1 parent 047494a commit 7a9027f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions metagraph/src/annotation/row_diff_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1436,14 +1436,14 @@ void convert_batch_to_row_diff_coord(const std::string &pred_succ_fprefix,
// must write the coordinates/diff
auto &v = set_rows_fwd[s][j];

if (is_anchor) {
logger->trace("anchor: {}", curr_value.size());
} else {
auto next = get_value(source_col, s, j, succ_begin, succ_end);
logger->trace("diff: {}{}: {} -> {}",
curr_value.size() <= next.size() ? "\t\t\t + " : "\t - ",
diff.size(), curr_value.size(), next.size());
}
// if (is_anchor) {
// logger->trace("anchor: {}", curr_value.size());
// } else {
// auto next = get_value(source_col, s, j, succ_begin, succ_end);
// logger->trace("diff: {}{}: {} -> {}",
// curr_value.size() <= next.size() ? "\t\t\t + " : "\t - ",
// diff.size(), curr_value.size(), next.size());
// }
for (uint64_t coord : diff) {
assert((!v.size() || v.back() != std::make_pair(row_idx, coord))
&& "coordinates must be unique and can't repeat");
Expand Down

0 comments on commit 7a9027f

Please sign in to comment.