]> www.ginac.de Git - ginac.git/blobdiff - ginac/inifcns_trans.cpp
- Make some tests more stringent and meaningful.
[ginac.git] / ginac / inifcns_trans.cpp
index 3b2608e623462e327be06a306283ae604b35edc8..507e18f51639f1c003280064b982f81a7d8f27e9 100644 (file)
@@ -146,7 +146,7 @@ static ex log_series(const ex &arg,
                      int order,
                      unsigned options)
 {
-       GINAC_ASSERT(is_ex_exactly_of_type(rel.lhs(),symbol));
+       GINAC_ASSERT(is_exactly_a<symbol>(rel.lhs()));
        ex arg_pt;
        bool must_expand_arg = false;
        // maybe substitution of rel into arg fails because of a pole
@@ -460,7 +460,7 @@ static ex tan_series(const ex &x,
                      int order,
                      unsigned options)
 {
-       GINAC_ASSERT(is_ex_exactly_of_type(rel.lhs(),symbol));
+       GINAC_ASSERT(is_exactly_a<symbol>(rel.lhs()));
        // method:
        // Taylor series where there is no pole falls back to tan_deriv.
        // On a pole simply expand sin(x)/cos(x).
@@ -626,7 +626,7 @@ static ex atan_series(const ex &arg,
                       int order,
                       unsigned options)
 {
-       GINAC_ASSERT(is_ex_exactly_of_type(rel.lhs(),symbol));
+       GINAC_ASSERT(is_exactly_a<symbol>(rel.lhs()));
        // method:
        // Taylor series where there is no pole or cut falls back to atan_deriv.
        // There are two branch cuts, one runnig from I up the imaginary axis and
@@ -870,7 +870,7 @@ static ex tanh_series(const ex &x,
                       int order,
                       unsigned options)
 {
-       GINAC_ASSERT(is_ex_exactly_of_type(rel.lhs(),symbol));
+       GINAC_ASSERT(is_exactly_a<symbol>(rel.lhs()));
        // method:
        // Taylor series where there is no pole falls back to tanh_deriv.
        // On a pole simply expand sinh(x)/cosh(x).
@@ -1011,7 +1011,7 @@ static ex atanh_series(const ex &arg,
                        int order,
                        unsigned options)
 {
-       GINAC_ASSERT(is_ex_exactly_of_type(rel.lhs(),symbol));
+       GINAC_ASSERT(is_exactly_a<symbol>(rel.lhs()));
        // method:
        // Taylor series where there is no pole or cut falls back to atanh_deriv.
        // There are two branch cuts, one runnig from 1 up the real axis and one