inducer / pymbolic

A simple package to do symbolic math (focus on code gen and DSLs)
http://mathema.tician.de/software/pymbolic
Other
106 stars 24 forks source link

Flatten product in DerivativeBinder.map_product #102

Closed alexfikl closed 2 years ago

alexfikl commented 2 years ago

Mostly for consistency at the moment.

Hit this while testing inducer/pytential#152, where a DerivativeBinder.resolve() expression would have some extra 1 * IntG in there.

inducer commented 2 years ago

Thx!