]> www.ginac.de Git - ginac.git/blobdiff - ginac/isospin.cpp
- changed function::diff() to be more tolerant by checking first if the
[ginac.git] / ginac / isospin.cpp
index 672ea924bf81c60193cbbfb7769d8832a4b9be34..e5288e9cc16d999d211c0b0b005dbbf3fd73a643 100644 (file)
@@ -151,7 +151,7 @@ bool isospin::info(unsigned inf) const
 
 int isospin::compare_same_type(basic const & other) const
 {
-    ASSERT(other.tinfo() == TINFO_isospin);
+    GINAC_ASSERT(other.tinfo() == TINFO_isospin);
     const isospin *o = static_cast<const isospin *>(&other);
     if (serial==o->serial) {
         return indexed::compare_same_type(other);