mirror of
https://github.com/dnlbauer/WHAM.git
synced 2026-09-11 06:35:30 +00:00
remove some code smell
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user