summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-06-05 17:50:58 +0200
committerNao Pross <np@0hm.ch>2024-06-05 17:50:58 +0200
commitf7dc1d23149ac12023bf481421ee9eb4f5836665 (patch)
treebbaa1424daa63271794d9f1a193fa16298120ae0
parentFix bug in CombinationsExpr (diff)
downloadpolymatrix-f7dc1d23149ac12023bf481421ee9eb4f5836665.tar.gz
polymatrix-f7dc1d23149ac12023bf481421ee9eb4f5836665.zip
Fix bug from renaming
Caused by commit 1e86d0946280b05e7ee41bb772041e234ec6d8e7
-rw-r--r--polymatrix/polymatrix/init.py10
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: