]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.cpp
Synced to HEAD
[ginac.git] / ginac / mul.cpp
index fe63a08861f594b3ca79f6e421879a6d235c137a..2b20e9fca917c5ec9877400e6e5ee8b7607b6df8 100644 (file)
@@ -94,7 +94,7 @@ mul::mul(const epvector & v, const ex & oc)
 mul::mul(std::auto_ptr<epvector> vp, const ex & oc)
 {
        tinfo_key = TINFO_mul;
-       GINAC_ASSERT(vp!=0);
+       GINAC_ASSERT(vp.get()!=0);
        overall_coeff = oc;
        construct_from_epvector(*vp);
        GINAC_ASSERT(is_canonical());
@@ -672,7 +672,7 @@ int mul::compare_same_type(const basic & other) const
 unsigned mul::return_type() const
 {
        if (seq.empty()) {
-               // mul without factors: should not happen, but commutes
+               // mul without factors: should not happen, but commutates
                return return_types::commutative;
        }