Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 002709ef authored by snuverink_j's avatar snuverink_j
Browse files

add safety check when individual not found in population

parent 03bf3d6b
No related branches found
No related tags found
1 merge request!180Resolve "Bug in Variator::variate()"
...@@ -457,6 +457,7 @@ void FixedPisaNsga2<CO, MO>::dispatch_forward_solves() { ...@@ -457,6 +457,7 @@ void FixedPisaNsga2<CO, MO>::dispatch_forward_solves() {
//} //}
individual ind = variator_m->popIndividualToEvaluate(); individual ind = variator_m->popIndividualToEvaluate();
if (ind == NULL) continue;
Param_t params; Param_t params;
DVarContainer_t::iterator itr; DVarContainer_t::iterator itr;
size_t i = 0; size_t i = 0;
......
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