sympy__sympy-20442
convert_to seems to combine orthogonal units
Verdict: the fix is stated in the issue (Tier A).
`solve_least_squares` finds the solution to the matrix equation. In case no solution is found (like in `convert_to(joule*second, joule)`), it approximates to an inexact solution to the matrix system instead of raising an exception.
The text states the fix: “`solve_least_squares` finds the solution to the matrix equation. In case no solution is found (like in `convert_to(joule*second, joule)`), it approximates to an inexact…”
All SWE-bench Lite tasks · more sympy/sympy tasks · How the check works