Skip to content

Commit

Permalink
[FIX] missing initialisation added
Browse files Browse the repository at this point in the history
  • Loading branch information
Irallia committed Apr 16, 2020
1 parent 72c11c5 commit 1e7cd7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions include/seqan3/search/fm_index/bi_fm_index_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ class bi_fm_index_cursor
// need to store it twice. Once the cursor is switched, the information becomes invalid anyway.

//!\brief Left suffix array interval of the parent node.
size_type parent_lb;
size_type parent_lb{};
//!\brief Left suffix array interval of the parent node.
size_type parent_rb;
size_type parent_rb{};
//!\brief Label of the last edge moved down. Needed for cycle_back() or cycle_front().
sdsl_char_type _last_char;
//\}
Expand Down
10 changes: 5 additions & 5 deletions include/seqan3/search/fm_index/fm_index_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ class fm_index_cursor
//!\}

//!\brief Underlying FM index.
index_type const * index;
index_type const * index{nullptr};
//!\brief Left suffix array interval of the parent node. Needed for cycle_back().
size_type parent_lb;
size_type parent_lb{};
//!\brief Right suffix array interval of the parent node. Needed for cycle_back().
size_type parent_rb;
size_type parent_rb{};
//!\brief Underlying index from the SDSL.
node_type node;
node_type node{};
//!\brief Alphabet size of the index without delimiters
sdsl_sigma_type sigma;
sdsl_sigma_type sigma{};

template <typename _index_t>
friend class bi_fm_index_cursor;
Expand Down

0 comments on commit 1e7cd7d

Please sign in to comment.