remove some code smell

This commit is contained in:
Daniel Bauer
2020-03-09 10:05:36 +01:00
parent 133234706e
commit 5390b089ac
5 changed files with 92 additions and 68 deletions

View File

@@ -20,7 +20,7 @@ fn generate_random_weights(num_windows: usize, rng: &mut StdRng) -> Vec<f64> {
for i in 0..num_windows {
weights[i] = rnds[i+1] - rnds[i]
}
return weights
weights
}
// Generate a random weighted dataset from the given dataset by changing the weights