]> www.ginac.de Git - ginac.git/blobdiff - ginac/expair.h
- ASSERT macro renamed to GINAC_ASSERT
[ginac.git] / ginac / expair.h
index 0a9867750ade0ca86a456bbf78de604f47f83ced..320de73eb78186786177728ed379d472be177aae 100644 (file)
@@ -38,7 +38,7 @@ public:
     ~expair() {}
     expair(expair const & other) : rest(other.rest), coeff(other.coeff)
     {
-        ASSERT(is_ex_exactly_of_type(coeff,numeric));
+        GINAC_ASSERT(is_ex_exactly_of_type(coeff,numeric));
     }
     expair const & operator=(expair const & other)
     {
@@ -50,12 +50,12 @@ public:
     }
     expair(ex const & r, ex const & c) : rest(r), coeff(c)
     {
-        ASSERT(is_ex_exactly_of_type(coeff,numeric));
+        GINAC_ASSERT(is_ex_exactly_of_type(coeff,numeric));
     }
     
     bool is_numeric_with_coeff_1(void) const
     {
-        ASSERT(is_ex_exactly_of_type(coeff,numeric));
+        GINAC_ASSERT(is_ex_exactly_of_type(coeff,numeric));
         return is_ex_exactly_of_type(rest,numeric) &&
                (ex_to_numeric(coeff).compare(numONE())==0);
     }