Serialization doesn't write the "mcounts" field for populations. This decision was made to save a bit of space. However, deserialization calls fwdpp's default mutation counting, which means that mutations only in tree sequences end up with wrong counts. The workaround is to call fwdpp::ts::count_mutations for that case, but it seems that a less error-prone solution is needed.
Serialization doesn't write the "mcounts" field for populations. This decision was made to save a bit of space. However, deserialization calls fwdpp's default mutation counting, which means that mutations only in tree sequences end up with wrong counts. The workaround is to call
fwdpp::ts::count_mutations
for that case, but it seems that a less error-prone solution is needed.