fix_weights

Function fix_weights 

Source
fn fix_weights(weights: &mut [i32; 2])