summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-04 23:29:40 +0200
committerNao Pross <np@0hm.ch>2024-05-04 23:29:40 +0200
commit00595025c47550e2e048eb0b990d354868a86c0a (patch)
tree84880006f9562f62e0b499b768b8441fcc0feef5
parentAdapt nested polymatrix classes to use new API (diff)
downloadpolymatrix-00595025c47550e2e048eb0b990d354868a86c0a.tar.gz
polymatrix-00595025c47550e2e048eb0b990d354868a86c0a.zip
Fix typo in variable.init
Diffstat (limited to '')
-rw-r--r--polymatrix/variable/init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/variable/init.py b/polymatrix/variable/init.py
index de217bd..5583c31 100644
--- a/polymatrix/variable/init.py
+++ b/polymatrix/variable/init.py
@@ -2,4 +2,4 @@ from .abc import Variable
from .impl import VariableImpl
def init_variable(name: str, shape: tuple[int, int]) -> Variable:
- return VariableImpl(str, shape)
+ return VariableImpl(name, shape)