kpeeters / cadabra2

A field-theory motivated approach to computer algebra.
https://cadabra.science/
GNU General Public License v3.0
223 stars 37 forks source link

take_match/replace_match do not work on sub-expressions of e.g. integrals #72

Closed kpeeters closed 6 years ago

kpeeters commented 6 years ago
ex:=\int{ A B + C D + E F }{x};
take_match(_, $C Q??$);

will take out the integral of C D, but replace_match(_) will then lead to a nested integral.

kpeeters commented 6 years ago

Fixed in 687d01e6f4d6387d09774b044ff3d2ce92ab4912.