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 c539b15..c361e58 100644
--- a/README.rst
+++ b/README.rst
@@ -37,7 +37,7 @@ to give an overview.
monomial_str = ""
for idx in term:
var = state.from_index(idx)
- monomial_str += f"{var.name}^{idx.power} "
+ monomial_str += f"{var}^{idx.power} "
# Get the coefficient
coeff = sparse.at(entry, term)