]> www.ginac.de Git - ginac.git/blobdiff - ginac/fderivative.cpp
- Cleanups: My evil plot of making ex::bp private may finally be carried
[ginac.git] / ginac / fderivative.cpp
index 7f40359bdb10f39c0371632812361db8d695cd04..23fc83768ef4801464b15146e188df621ca52375 100644 (file)
@@ -198,7 +198,7 @@ ex fderivative::derivative(const symbol & s) const
 
 int fderivative::compare_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_of_type(other, fderivative));
+       GINAC_ASSERT(is_a<fderivative>(other));
        const fderivative & o = static_cast<const fderivative &>(other);
 
        if (parameter_set != o.parameter_set)
@@ -209,7 +209,7 @@ int fderivative::compare_same_type(const basic & other) const
 
 bool fderivative::is_equal_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_of_type(other, fderivative));
+       GINAC_ASSERT(is_a<fderivative>(other));
        const fderivative & o = static_cast<const fderivative &>(other);
 
        if (parameter_set != o.parameter_set)
@@ -220,7 +220,7 @@ bool fderivative::is_equal_same_type(const basic & other) const
 
 bool fderivative::match_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_of_type(other, fderivative));
+       GINAC_ASSERT(is_a<fderivative>(other));
        const fderivative & o = static_cast<const fderivative &>(other);
 
        return parameter_set == o.parameter_set;