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

integrate_by_parts on multiple partial derivatives is wrong #71

Closed kpeeters closed 6 years ago

kpeeters commented 6 years ago
\partial{#}::PartialDerivative;
ex:=\int{ a \partial_{0}{\partial_{0}{a}} }{x};
integrate_by_parts(_, $a$);

produces the wrong sign. Works with \partial{#}::Derivative because the latter does not merge derivative indices into one object.

kpeeters commented 6 years ago

Fixed in ce98606854033506c1fc9c344845609cf25da37d.