]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.cpp
- Cleanups: My evil plot of making ex::bp private may finally be carried
[ginac.git] / ginac / structure.cpp
index e1ea6d56577349461171b03969942affcb68c5cd..b094c09cc25ede91f8ab67e2973556a8a2b1aa17 100644 (file)
@@ -52,7 +52,7 @@ void structure::print(const print_context & c, unsigned level) const
 {
        debugmsg("structure print",LOGLEVEL_PRINT);
 
-       if (is_of_type(c, print_tree)) {
+       if (is_a<print_tree>(c)) {
 
                c.s << std::string(level, ' ') << class_name()
                    << std::hex << ", hash=0x" << hashvalue << ", flags=0x" << flags << std::dec
@@ -68,7 +68,7 @@ DEFAULT_COMPARE(structure)
 
 bool structure::is_equal_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_of_type(other, structure));
+       GINAC_ASSERT(is_a<structure>(other));
        return true; // all structures are the same
 }