diff options
author | Nao Pross <np@0hm.ch> | 2024-04-29 15:59:44 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-04-29 15:59:44 +0200 |
commit | f402569ad74d4bd7bbcf254855d0f78807df7091 (patch) | |
tree | a3f2cdc2b9537269f132b6d33d4ee5b2c93f3f41 /docs/conf.py | |
parent | Fix circular imports caused by type annotations (diff) | |
download | polymatrix-f402569ad74d4bd7bbcf254855d0f78807df7091.tar.gz polymatrix-f402569ad74d4bd7bbcf254855d0f78807df7091.zip |
Fix bug in ExpressionState.index
If we do
x = polymatrix.from_names("x")
state = polymatrix.make_state()
state, idx = state.index(x)
There is problem because the state index should be a dictionary with
keys of type VariableMixin, but x is of type Expression, so we need
to take its underlying
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions