aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index f4deb4d..c539b15 100644
--- a/README.rst
+++ b/README.rst
@@ -36,7 +36,7 @@ to give an overview.
for term in sparse.terms(entry):
monomial_str = ""
for idx in term:
- var = state.from_index(idx.var_idx)
+ var = state.from_index(idx)
monomial_str += f"{var.name}^{idx.power} "
# Get the coefficient