Skip to content

Commit

Permalink
Fix identation + annotations without succ
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn committed Oct 10, 2024
1 parent 91ea56f commit 1976be1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metagraph/src/annotation/row_diff_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ void build_pred_succ(const graph::DeBruijnGraph &graph,
succ_buf.push_back(to_row(j));
succ_boundary_buf.push_back(0);
}
if(rd_succ[i]) {
if(rd_succ[i]) {
graph.adjacent_incoming_nodes(i, [&](auto pred) {
if (dummy && (*dummy)[pred]) {
return;
Expand Down Expand Up @@ -921,7 +921,7 @@ void convert_batch_to_row_diff(const std::string &pred_succ_fprefix,
// reduction (zero diff)
__atomic_add_fetch(&row_nbits_block[chunk_idx], 1, __ATOMIC_RELAXED);
}
} else if (succ) {
} else if (succ || anchor[row_idx]) {
bool is_anchor = anchor[row_idx];
// add current bit if this node is an anchor
// or if the successor has zero diff
Expand Down

0 comments on commit 1976be1

Please sign in to comment.