* Implementation of abstract derivatives of functions. */
/*
- * GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
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