]> www.ginac.de Git - ginac.git/blobdiff - ginac/factor.cpp
Make .eval() evaluate top-level only.
[ginac.git] / ginac / factor.cpp
index e96dccfa81eded8468a390f455d0b2f9f54462da..30d7953be90c830baced6c4e92410cdab5e3f416 100644 (file)
@@ -2519,8 +2519,6 @@ struct apply_factor_map : public map_function {
                                        s2 += e.op(i);
                                }
                        }
-                       s1 = s1.eval();
-                       s2 = s2.eval();
                        return factor(s1, options) + s2.map(*this);
                }
                return e.map(*this);