Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cosmo-color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ void find_bubbles(const debruijn_graph_shifted<> &dbg, sd_vector<> &colors, colo
branch_labels[branch_num] += base[x];
// build color mask
color_bv color_mask = 0;
for (int c = 0; c < num_colors; c++)
color_mask |= colors[edge * num_colors + c] << c;
for (int c = 0; c < num_colors; c++) {
color_mask.set(c, colors[edge*num_colors+c]);
}
branch_color[branch_num] = color_mask;

// walk along edges until we encounter
Expand Down