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

Fixed missing decompress_map_ and added regression tests #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

11Tanik
Copy link

@11Tanik 11Tanik commented May 25, 2024

The function access() now returns the original symbols of the text.

The function access() did only return the original value of the text, if and only if the alphabet had no gaps. Added the initialization of decompress_map_ to compress_leaves() and its usage to access().

Also added regression tests for gappy alphabets.

Tim Junginger added 2 commits May 25, 2024 10:54
The current implementation pushes all symbols to the lowest numbers available.
The function access was missing a way to return the potentially remapped symbols.
…tion actually returns the original values.
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

Successfully merging this pull request may close these issues.

1 participant