]> www.ginac.de Git - ginac.git/blobdiff - ginac/clifford.cpp
- Cleanups: My evil plot of making ex::bp private may finally be carried
[ginac.git] / ginac / clifford.cpp
index 13bb8b0e7010a30f02d0ee0c777c84ba960017d2..d488d3ba65f05b3920cfae9f2e9ff70c2ce7d7d5 100644 (file)
@@ -129,7 +129,7 @@ DEFAULT_ARCHIVING(diracgamma5)
 
 int clifford::compare_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_of_type(other, clifford));
+       GINAC_ASSERT(is_a<clifford>(other));
        const clifford &o = static_cast<const clifford &>(other);
 
        if (representation_label != o.representation_label) {
@@ -142,13 +142,13 @@ int clifford::compare_same_type(const basic & other) const
 
 bool clifford::match_same_type(const basic & other) const
 {
-       GINAC_ASSERT(is_of_type(other, clifford));
+       GINAC_ASSERT(is_a<clifford>(other));
        const clifford &o = static_cast<const clifford &>(other);
 
        return representation_label == o.representation_label;
 }
 
-void clifford::print(const print_context & c, unsigned level = 0) const
+void clifford::print(const print_context & c, unsigned level) const
 {
        if (!is_a<diracgamma5>(seq[0]) && !is_a<diracgamma>(seq[0]) && !is_a<diracone>(seq[0])) {