]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.cpp
- Cleanups: My evil plot of making ex::bp private may finally be carried
[ginac.git] / ginac / relational.cpp
index c4e34ddfd34ca44958e37632d6e041969f08680b..6d51a5634f34ef4f5f22cfa1d25f1413216fb359 100644 (file)
@@ -101,7 +101,7 @@ void relational::print(const print_context & c, unsigned level) const
 {
        debugmsg("relational print",LOGLEVEL_PRINT);
 
-       if (is_of_type(c, print_tree)) {
+       if (is_a<print_tree>(c)) {
 
                inherited::print(c, level);
 
@@ -192,7 +192,7 @@ ex relational::simplify_ncmul(const exvector & v) const
 
 int relational::compare_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_exactly_of_type(other, relational));
+       GINAC_ASSERT(is_exactly_a<relational>(other));
        const relational &oth = static_cast<const relational &>(other);
        
        if (o == oth.o) {
@@ -207,7 +207,7 @@ int relational::compare_same_type(const basic & other) const
 
 bool relational::match_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_exactly_of_type(other, relational));
+       GINAC_ASSERT(is_exactly_a<relational>(other));
        const relational &oth = static_cast<const relational &>(other);
 
        return o == oth.o;