aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-03-07 23:48:03 +0100
committerNao Pross <np@0hm.ch>2024-03-07 23:48:03 +0100
commit2687765ac335677ed570de261987890f1ffe2832 (patch)
tree778037d218df7b4ef56c00e261df4157a5e45a14
parentFix regression in State.from_index (diff)
downloadmdpoly-2687765ac335677ed570de261987890f1ffe2832.tar.gz
mdpoly-2687765ac335677ed570de261987890f1ffe2832.zip
Update README
-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)