Template Function fwdpp::debug::haploid_genome_data_valid

Function Documentation

template<typename haploid_genome_t, typename mcont_t>
void fwdpp::debug::haploid_genome_data_valid(const haploid_genome_t &g, const mcont_t &mutations, const std::vector<uint_t> &mutcounts)

Throw exception if haploid_genome data are unsorted or if mutation key storage is invalid.

Note

Only call this if the haploid_genome is extant!!!!