From: Michael Orlitzky Date: Wed, 3 Mar 2021 12:41:07 +0000 (-0500) Subject: matrix_algebra: fix conditional categories. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=c67a336953407573e133313151a42d17efd53d07;p=sage.d.git matrix_algebra: fix conditional categories. --- diff --git a/mjo/matrix_algebra.py b/mjo/matrix_algebra.py index 8f75ef2..a695b0b 100644 --- a/mjo/matrix_algebra.py +++ b/mjo/matrix_algebra.py @@ -183,9 +183,9 @@ class MatrixAlgebra(CombinatorialFreeModule): category = category.WithBasis() if "Unital" in entry_algebra.category().axioms(): - category.Unital() + category = category.Unital() if "Associative" in entry_algebra.category().axioms(): - category.Associative() + category = category.Associative() self._nrows = n