We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa0eec commit 3e6cc92Copy full SHA for 3e6cc92
ufl/algorithms/remove_component_tensors.py
@@ -88,6 +88,8 @@ def indexed(self, o):
88
# Replace inner indices first
89
v = map_expr_dag(self, o2)
90
# Replace outer indices
91
+ # NOTE: Replace with `fimap = dict(zip(i2, i1, strict=True))` when
92
+ # Python>=3.10
93
assert len(i2) == len(i1)
94
fimap = dict(zip(i2, i1))
95
rule = IndexReplacer(fimap)
0 commit comments