Commit 3279cc66 authored by Leonardo Solis's avatar Leonardo Solis

#53, initialize best_genos in adadelta

parent 2c03e800
......@@ -279,6 +279,10 @@ gradient_minAD(
// Initializing best energy
if (get_local_id(0) == 0) {
best_energy = INFINITY;
for (uint i = 0; i < dockpars_num_of_genes; i++) {
best_genotype [i] = genotype [i];
}
}
// Initializing vectors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment