Python turns multiple subscripts separated by commas into a tuple of
subscripts. When stringifying this, Pymbolic inserts the set of
parentheses associated with that tuple inside the square brackets for
the subscript. This commit causes Pymbolic to suppress these
parentheses.
That is to say, instead of an output which looks like:
Python turns multiple subscripts separated by commas into a tuple of subscripts. When stringifying this, Pymbolic inserts the set of parentheses associated with that tuple inside the square brackets for the subscript. This commit causes Pymbolic to suppress these parentheses.
That is to say, instead of an output which looks like:
phi[(a, b)]
we now get:
phi[a, b]