one-line change in quadratic_wls from earlier fixes