]> gitweb.michael.orlitzky.com - sage.d.git/commit
mjo/matrix_algebra.py: support Vector "rows" in from_list()
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 8 Apr 2026 23:48:48 +0000 (19:48 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 8 Apr 2026 23:48:48 +0000 (19:48 -0400)
commit526485ead564d1f651dd252e9a8ea72a81d0d6bb
tree11251ab03cac8a0d675bc3b5f43243139d22d28e
parent4ee70bf0e7a96a122d146a6f72dad101772ae6dc
mjo/matrix_algebra.py: support Vector "rows" in from_list()

Something in Sage changed and now we're getting Vector "rows" in what
used to be a list-of-lists resulting from a block matrix. Tweak the
test to support anything with a __len__ method inside, rather than
just list or tuple.
mjo/matrix_algebra.py