summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormike <michael.schneeb@gmail.com>2023-02-10 17:56:16 +0100
committermike <michael.schneeb@gmail.com>2023-02-10 17:56:16 +0100
commit0c429022c624c40e117457a10163230d529fdec2 (patch)
tree6b990de2a4e32bc8344c3f356f52b09fefb62143
parentupdate test cases (diff)
downloadpolymatrix-0c429022c624c40e117457a10163230d529fdec2.tar.gz
polymatrix-0c429022c624c40e117457a10163230d529fdec2.zip
np.object -> object
-rw-r--r--polymatrix/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/__init__.py b/polymatrix/__init__.py
index dff503b..ad11c70 100644
--- a/polymatrix/__init__.py
+++ b/polymatrix/__init__.py
@@ -612,7 +612,7 @@ def to_sympy_repr(
def func(state: ExpressionState):
state, underlying = expr.apply(state)
- A = np.zeros(underlying.shape, dtype=np.object)
+ A = np.zeros(underlying.shape, dtype=object)
for (row, col), polynomial in underlying.gen_terms():