From f7dc1d23149ac12023bf481421ee9eb4f5836665 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Wed, 5 Jun 2024 17:50:58 +0200 Subject: Fix bug from renaming Caused by commit 1e86d0946280b05e7ee41bb772041e234ec6d8e7 --- polymatrix/polymatrix/init.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/polymatrix/polymatrix/init.py b/polymatrix/polymatrix/init.py index a13017b..938f8b5 100644 --- a/polymatrix/polymatrix/init.py +++ b/polymatrix/polymatrix/init.py @@ -34,10 +34,7 @@ def init_poly_matrix( wrapped[*entry] = p data = wrapped - return PolyMatrixImpl( - data=data, - shape=shape, - ) + return PolyMatrixImpl(data=data, shape=shape) def init_broadcast_poly_matrix( @@ -52,10 +49,7 @@ def init_broadcast_poly_matrix( p[idx] = coeff data = p - return BroadcastPolyMatrixImpl( - data=data, - shape=shape, - ) + return BroadcastPolyMatrixImpl(polynomial=data, shape=shape) def init_block_poly_matrix(blocks: dict[tuple[range, range], PolyMatrixMixin]) -> BlockPolyMatrixMixin: -- cgit v1.2.1