Mentions légales du service

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

fix bad position to count the nb of recombinations, and fix array size

parent deec7447
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ class DnaReplicationReport {
std::list<std::unique_ptr<const Recombination>> recombinations_;
#endif
// Number of mutations/rearrangements/HT of each (simple) type undergone
int32_t nb_mut_[10] = {0,0,0,0,0,0,0,0,0,0};
int32_t nb_mut_[11] = {0,0,0,0,0,0,0,0,0,0,0};
};
} // namespace aevol
......
......@@ -67,6 +67,9 @@ enum MutationType {
INSERT,
INS_HT,
REPL_HT,
#ifdef __EUKARYOTE
RECOMB,
#endif
// Composite mutation types follow. They represent categories of
// several simple mutation types. Therefore, they should not be used
......@@ -78,9 +81,6 @@ enum MutationType {
REARR, // DUPL or DEL or TRANS or INV
H_T, // INS_HT or REPL_HT
INDEL // S_INS or S_DEL
#ifdef __EUKARYOTE
, RECOMB
#endif
};
class Mutation {
......
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