From: Jens Vollinga Date: Mon, 26 Jun 2006 13:55:33 +0000 (+0000) Subject: Fixed bug in comparison of fderivatives. X-Git-Tag: release_1-4-0~84 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=8405f067a0f0a0e17c7f42057ddc4bce76b10deb;p=ginac.git Fixed bug in comparison of fderivatives. --- diff --git a/ginac/fderivative.cpp b/ginac/fderivative.cpp index 06711232..52c5e676 100644 --- a/ginac/fderivative.cpp +++ b/ginac/fderivative.cpp @@ -214,7 +214,7 @@ bool fderivative::match_same_type(const basic & other) const GINAC_ASSERT(is_a(other)); const fderivative & o = static_cast(other); - return parameter_set == o.parameter_set; + return parameter_set == o.parameter_set && inherited::match_same_type(other); } } // namespace GiNaC