Template Function fwdpp::ts::io::fix_mutation_table_repopulate_site_table

Function Documentation

template<typename TableCollectionType, typename MutationContainerType>
void fwdpp::ts::io::fix_mutation_table_repopulate_site_table(TableCollectionType &tables, const MutationContainerType &mutations)

Helper function when reading back from old file formats.

When calling

deserialize_tables to read in table_collection objects generated with fwdpp versions < 0.8.0, the mutation_record object differs from the current version and no site_table is present. This function fixes that.
Version

0.8.0 Added to library