From c67a336953407573e133313151a42d17efd53d07 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 3 Mar 2021 07:41:07 -0500 Subject: [PATCH] matrix_algebra: fix conditional categories. --- mjo/matrix_algebra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.2