This commit is contained in:
2018-09-14 08:59:09 +02:00
parent f9069e12bb
commit db996837e7
3 changed files with 8 additions and 16 deletions

View File

@@ -88,8 +88,7 @@ where
.map(|individual| Wrapper {
individual,
fitness: None,
})
.for_each(|wrapper| {
}).for_each(|wrapper| {
population.push(wrapper);
});
@@ -140,8 +139,7 @@ where
.map(|individual| Wrapper {
individual,
fitness: None,
})
.collect_into_vec(&mut population);
}).collect_into_vec(&mut population);
ParSimulation { population }
}