Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Both Skew and SAIS crashes on simple data set. Only Naive works. See test code #1

Open
aandriasyan opened this issue Mar 21, 2023 · 0 comments

Comments

@aandriasyan
Copy link

#include "Skew.h"
#include "SAIS.h"
#include "Naive.h"

int main()
{
std::string data;
data.reserve(2 * 256);

for(int i = 0;i < (256 * 2);i++) {
    data += (i % 256);
}

// Naive s;
Skew s;
// SAIS s;
s.addString(data);
s.makeSuffixArray();
s.printSuffixArray();
std::cout << std::endl;
}

@aandriasyan aandriasyan changed the title Both Skew and SAIS crashesh on simple data set. Only Naive works. See test code Both Skew and SAIS crashes on simple data set. Only Naive works. See test code Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant