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

Fix preprocessor crash on small data sets without places #96

Open
GoogleCodeExporter opened this issue Oct 13, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

Hi,

I just took a small snapshot of a few streets
and wanted to test some routing tweaks.

The trie writeout code omits the datalist size indicator
during Write() when both the label list and data list are empty.

This will result in an assertion since Read()
assumes there is a data list size indicator
if "labelist.size() <= 0".

Attached patch fixes the issue.

Cheers,
Thomas

PS: Your diploma thesis rocks! It really helped
me to understand how monav works.

Original issue reported on code.google.com by [email protected] on 1 Jun 2013 at 9:52

@GoogleCodeExporter
Copy link
Author

I've updated the patch to also correct GetSize().

Please use the corrected version.

Original comment by [email protected] on 1 Jun 2013 at 10:40

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks, will apply the fix soon!

Original comment by [email protected] on 3 Jun 2013 at 2:59

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant