Template Function fwdpp::debug::haploid_genome_data_valid

Function Documentation

template<typename HaploidGenomeType, typename MutationContainerType>
void fwdpp::debug::haploid_genome_data_valid(const HaploidGenomeType &g, const MutationContainerType &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!!!!