Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: return one covariance matrix per
rhs
in polyfit
Addresses jax-ml#24073 Taking the first residual from `resids` means that only the first set of coefficients would get a covariance matrix. This moves the line to make a `(1,)` shape array into an `int` to the branch where there is only one `rhs`.
- Loading branch information