Skip to content
Snippets Groups Projects
Commit 609721a6 authored by a.croix's avatar a.croix
Browse files

Fix style

parent a29eaca9
No related branches found
No related tags found
No related merge requests found
Pipeline #1071 passed
......@@ -331,7 +331,8 @@ public class Trainer {
final List<SolutionDistance> randomlyMutateGenes(
final List<SolutionDistance> solutions) {
double probability = (double)this.getParameters().getMutationRate() / 100;
double probability =
(double) this.getParameters().getMutationRate() / 100;
for (int i = 0; i < solutions.size(); i++) {
if (i > 1) {
......
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