Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

Hi, when I try to collect all powers, but I have a negative power from the product, then collect_factors doesn't work. Applying expand_power before that has no effect either.

for example:

collect_factors($a b c (a b c)**(-1)$);

is not equel 1, but still abc (abc)**(-1).

in General questions by (1.7k points)

2 Answers

+2 votes

Thanks, this is an issue with expand_power not taking care of negative powers. Will fix.

by (82.6k points)
+2 votes

Now fixed in 2.4.3.

by (82.6k points)
...