]> www.ginac.de Git - ginac.git/commitdiff
Synced to HEAD:
authorJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Mon, 26 Jun 2006 13:56:08 +0000 (13:56 +0000)
committerJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Mon, 26 Jun 2006 13:56:08 +0000 (13:56 +0000)
Fixed bug in comparison of fderivatives.

ginac/fderivative.cpp

index 296e2939b64c9ffba8cf0865a1d5b1d6a697f1c4..635e5a2171821e48cd0101d242ab0da356ff76eb 100644 (file)
@@ -214,7 +214,7 @@ bool fderivative::match_same_type(const basic & other) const
        GINAC_ASSERT(is_a<fderivative>(other));
        const fderivative & o = static_cast<const fderivative &>(other);
 
-       return parameter_set == o.parameter_set;
+       return parameter_set == o.parameter_set && inherited::match_same_type(other);
 }
 
 } // namespace GiNaC