corrected typo with weight_float

oversight