xxsds / DYNAMIC

Dynamic succinct/compressed data structures
MIT License
111 stars 20 forks source link

SPSI serialization reports incorrect size #4

Closed adamnovak closed 8 years ago

adamnovak commented 8 years ago

See https://github.com/nicolaprezza/DYNAMIC/blob/master/include/internal/spsi.hpp#L1017-L1025

The running total of bytes written is not being updated here.

nicolaprezza commented 8 years ago

Whoops, thank you for spotting this! fixed. I checked with the size being streamed to disk and now serialize() returns the correct value.