Leaklens

sympy__sympy-18621

BlockDiagMatrix with one element cannot be converted to regular Matrix

Verdict: the fix is stated in the issue (Tier A).

- return ImmutableDenseMatrix(data) + return ImmutableDenseMatrix(data, evaluate=False)

The text states the fix: “- return ImmutableDenseMatrix(data) + return ImmutableDenseMatrix(data, evaluate=False)”

All SWE-bench Lite tasks · more sympy/sympy tasks · How the check works