]> www.ginac.de Git - ginac.git/blobdiff - ginac/add.cpp
some more comments and cleanups to mul::expand() and ncmul::expand()
[ginac.git] / ginac / add.cpp
index 5a4c805d4373d952dd3aab0712734e1ec2f635d9..7764d3683fb5e97a0ccb618b71fcfe9aa7ea2cd3 100644 (file)
@@ -511,9 +511,6 @@ ex add::recombine_pair_to_ex(const expair & p) const
 
 ex add::expand(unsigned options) const
 {
-       if (options == 0 && (flags & status_flags::expanded))
-               return *this;
-       
        epvector *vp = expandchildren(options);
        if (vp == NULL) {
                // the terms have not changed, so it is safe to declare this expanded