From: Jens Vollinga Date: Thu, 11 Mar 2004 17:57:24 +0000 (+0000) Subject: Synced to HEAD. X-Git-Tag: release_1-2-0~6 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=c767dce21baae973b3787497584d8780c56d69d2;hp=846e62e85c483f74d1e253c7841050ea11d70451 Synced to HEAD. --- diff --git a/ginac/inifcns_gamma.cpp b/ginac/inifcns_gamma.cpp index 6c80ed6d..0ae8d1a3 100644 --- a/ginac/inifcns_gamma.cpp +++ b/ginac/inifcns_gamma.cpp @@ -304,19 +304,19 @@ static ex beta_series(const ex & arg1, throw do_taylor(); // caught by function::series() // trap the case where arg1 is on a pole: if (arg1.info(info_flags::integer) && !arg1.info(info_flags::positive)) - arg1_ser = tgamma(arg1+s).series(rel, order, options); + arg1_ser = tgamma(arg1+s); else - arg1_ser = tgamma(arg1).series(rel,order); + arg1_ser = tgamma(arg1); // trap the case where arg2 is on a pole: if (arg2.info(info_flags::integer) && !arg2.info(info_flags::positive)) - arg2_ser = tgamma(arg2+s).series(rel, order, options); + arg2_ser = tgamma(arg2+s); else - arg2_ser = tgamma(arg2).series(rel,order); + arg2_ser = tgamma(arg2); // trap the case where arg1+arg2 is on a pole: if ((arg1+arg2).info(info_flags::integer) && !(arg1+arg2).info(info_flags::positive)) - arg1arg2_ser = tgamma(arg2+arg1+s).series(rel, order, options); + arg1arg2_ser = tgamma(arg2+arg1+s); else - arg1arg2_ser = tgamma(arg2+arg1).series(rel,order); + arg1arg2_ser = tgamma(arg2+arg1); // compose the result (expanding all the terms): return (arg1_ser*arg2_ser/arg1arg2_ser).series(rel, order, options).expand(); }