Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3483155c authored by LUISELLI Juliette's avatar LUISELLI Juliette
Browse files

correctly clone recombinations_ in DnaReplicationReport

parent 39512c6a
No related branches found
No related tags found
No related merge requests found
...@@ -94,6 +94,14 @@ DnaReplicationReport::DnaReplicationReport(const DnaReplicationReport& other) { ...@@ -94,6 +94,14 @@ DnaReplicationReport::DnaReplicationReport(const DnaReplicationReport& other) {
add_local_mut(mut); add_local_mut(mut);
delete mut; delete mut;
} }
#ifdef __EUKARYOTE
for (auto& recomb : other.recombinations_) {
mut = recomb->Clone();
add_recomb(mut);
delete mut;
}
#endif
} }
int32_t DnaReplicationReport::nb(MutationType t) const { int32_t DnaReplicationReport::nb(MutationType t) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment