]> 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 bee4618dba6ad2f03fcf74b7013faf5326bbe169..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,7 +142,7 @@ 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;