Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 503f1f3d authored by David Parsons's avatar David Parsons
Browse files

TMP! add debug failure output + exit

parent d58d2d93
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#include "legacy/ExpManager.h" #include "legacy/ExpManager.h"
#include "ExpManager_7.h" #include "ExpManager_7.h"
#include <cassert>
#define REDUCTION_FACTOR 16 #define REDUCTION_FACTOR 16
namespace aevol { namespace aevol {
...@@ -346,6 +348,12 @@ Mutation* Dna_7::do_duplication(size_type pos_1, size_type pos_2, size_type pos_ ...@@ -346,6 +348,12 @@ Mutation* Dna_7::do_duplication(size_type pos_1, size_type pos_2, size_type pos_
} }
else { // if (pos_1 >= pos_2) else { // if (pos_1 >= pos_2)
#ifdef __EUKARYOTE
std::cout << "*** Invalid duplicated segment for linear chromosomes *** \n";
std::cout << " pos1 : " << pos_1 << " and pos2: " << pos_2 << " should be inverted" << std::endl;
assert(false);
#endif
// The segment to duplicate includes the origin of replication. // The segment to duplicate includes the origin of replication.
// The copying process will be done in two steps. // The copying process will be done in two steps.
// //
......
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