Dummy indices could "leak" out of arguments of powers, so that e.g.
A^{n} / (A^{n} A^{n})
would lead to a triple index exception. This patch prevents dummy classification from leaking out of the \pow{...}{...} node, and also ensures that canonicalise will still look inside such expressions.
Dummy indices could "leak" out of arguments of powers, so that e.g.
would lead to a triple index exception. This patch prevents dummy classification from leaking out of the
\pow{...}{...}
node, and also ensures thatcanonicalise
will still look inside such expressions.This solves the issue reported in https://cadabra.science/qa/2405/strange-triple-index-error.