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

It seems that 'factor_out' can not return the result correctly for the factors which only one term has. By the way, 'factor_in' works fine. Example:

st:=  A G B C D +E  ;
factor_out(_,  $  A $ );

Screenshot: enter image description here

in Bug reports by (400 points)

1 Answer

0 votes
 
Best answer

Well spotted, I recently rewrote a lot of factor_out and didn't quite finish the part that dealt with the trivial cases... It's fixed now in github, please try again.

by (80.3k points)
selected by
...