Skip to content

Commit

Permalink
Bugfix: length after intersection
Browse files Browse the repository at this point in the history
  • Loading branch information
jnalanko committed Apr 13, 2023
1 parent f4a5d16 commit 3de1225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/coloring/Color_Set.hh
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class SDSL_Variant_Color_Set{
*std::get<sdsl::bit_vector*>(this->data_ptr),
this->start,
this->length);

new_set.length = iv_copy_length;
*this = std::move(new_set);

} else{ // Array vs Array
Expand Down

0 comments on commit 3de1225

Please sign in to comment.