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 3fb4a0a4 authored by snuverink_j's avatar snuverink_j
Browse files

fix default value of SIMBIN_CROSSOVER_NU

parent c00a7732
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,7 @@ template <class T> struct SimulatedBinaryCrossover
void crossover(boost::shared_ptr<T> ind1, boost::shared_ptr<T> ind2,
CmdArguments_t args) {
double nu_c = 2.0;
try {
nu_c = args->getArg<double>("simbin-crossover-nu");
} catch(OptPilotException &e)
{}
double nu_c = args->getArg<double>("simbin-crossover-nu", 2.0, false);
for(std::size_t i = 0; i < ind1->genes_m.size(); i++) {
......
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