unsanded / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Fix preprocessor crash on small data sets without places #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 t...@simonv.com on 1 Jun 2013 at 9:52

GoogleCodeExporter commented 8 years ago
I've updated the patch to also correct GetSize().

Please use the corrected version.

Original comment by t...@simonv.com on 1 Jun 2013 at 10:40

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, will apply the fix soon!

Original comment by veaac.fd...@gmail.com on 3 Jun 2013 at 2:59