Mentions légales du service

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

add missing init of Dna_7::ann_chrsm_

parent c41edf21
No related branches found
No related tags found
No related merge requests found
......@@ -339,6 +339,7 @@ int main(int argc, char* argv[]) {
indiv->annotated_chromosome_->dna_ = Dna_7::make_from_sequence(
old_world->grid(0, 0)->individual()->genetic_unit(0).dna()->data(),
old_world->grid(0, 0)->individual()->genetic_unit(0).dna()->length());
indiv->annotated_chromosome_->dna_->set_chrsm(indiv->annotated_chromosome_);
indiv->annotated_chromosome_->dna_->set_parent_length(
old_world->grid(0, 0)->individual()->genetic_unit(0).dna()->length());
indiv->annotated_chromosome_->dna_->set_indiv(indiv);
......@@ -735,6 +736,7 @@ int main(int argc, char* argv[]) {
indiv->annotated_chromosome_->dna_ = Dna_7::make_from_sequence(
old_world->grid(x, y)->individual()->genetic_unit(0).dna()->data(),
old_world->grid(x, y)->individual()->genetic_unit(0).dna()->length());
indiv->annotated_chromosome_->dna_->set_chrsm(indiv->annotated_chromosome_);
indiv->annotated_chromosome_->dna_->set_parent_length(
old_world->grid(x,y)->individual()->genetic_unit(0).dna()->length());
indiv->annotated_chromosome_->dna_->set_indiv(indiv);
......
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