You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extend_right() in the index module does not handle null-terminated strings properly:
#include<seqan3/search/fm_index/all.hpp>
#include<seqan3/core/debug_stream.hpp>usingnamespaceseqan3;intmain()
{
std::string text = "How much wood would a woodchuck chuck?";
fm_index index{text};
auto it = index.begin();
if (it.extend_right("wood"))
debug_stream << it.locate() << '\n';
}
Outputs no results, but wrapping "wood" into std::string produces correct behaviour.
The text was updated successfully, but these errors were encountered:
extend_right()
in the index module does not handle null-terminated strings properly:Outputs no results, but wrapping
"wood"
intostd::string
produces correct behaviour.The text was updated successfully, but these errors were encountered: