]> www.ginac.de Git - ginac.git/blobdiff - ginac/fderivative.cpp
Improved the comments explaining what the class ex does.
[ginac.git] / ginac / fderivative.cpp
index 0671123229824a734e3b9c621cd4996bd3ebc58c..52c5e676541eefcdba7f78213298ba7727da7008 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