diff options
Diffstat (limited to '')
-rw-r--r-- | polymatrix/polymatrix/init.py | 10 |
1 files 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: |