summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-04-29 15:59:44 +0200
committerNao Pross <np@0hm.ch>2024-04-29 15:59:44 +0200
commitf402569ad74d4bd7bbcf254855d0f78807df7091 (patch)
treea3f2cdc2b9537269f132b6d33d4ee5b2c93f3f41 /examples
parentFix circular imports caused by type annotations (diff)
downloadpolymatrix-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