bioinfologics / sdg

Sequence Distance Graph framework: graph + reads + mapping + analysis
MIT License
25 stars 6 forks source link

datastore vector realloc corrupts datastores #107

Closed bjclavijo closed 5 years ago

bjclavijo commented 5 years ago

test: just add one datastore and then another. the first one becomes "corrupted".

as a temporary fix I am "reserving" space for 100 of each datastore type. This probably affects all datastores types.

bjclavijo commented 5 years ago

Just add a compilation-time constant with the max number of workspace vector items and have the add_functions check for that and throw an error, asking to increase the variable.

bjclavijo commented 5 years ago

closed by 124cc014338104b4f484caf5693b86522d7f7236