X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fexam_pseries.cpp;h=8bd785a623ace37925cee58d1e8cda521d7ce9ae;hp=ab1ca0f6a72c6eb2c4e012f846d8a5c59bbfc041;hb=757406e244f4f257aafaa0f355d5376122cea10e;hpb=201fc92bfd5806596a5a75a5ae0586d7302c0897 diff --git a/check/exam_pseries.cpp b/check/exam_pseries.cpp index ab1ca0f6..8bd785a6 100644 --- a/check/exam_pseries.cpp +++ b/check/exam_pseries.cpp @@ -41,6 +41,8 @@ static unsigned check_series(const ex &e, const ex &point, const ex &d, int orde // Series expansion static unsigned exam_series1() { + using GiNaC::log; + unsigned result = 0; ex e, d; @@ -233,6 +235,8 @@ static unsigned exam_series9() // Series expansion of Li2((x==2)^2), caring about branch-cut static unsigned exam_series10() { + using GiNaC::log; + ex e = Li2(pow(x,2)); ex d = Li2(4) + (-log(3) + I*Pi*csgn(I-I*pow(x,2))) * (x-2) + (numeric(-2,3) + log(3)/4 - I*Pi/4*csgn(I-I*pow(x,2))) * pow(x-2,2) @@ -245,6 +249,8 @@ static unsigned exam_series10() // Series expansion of logarithms around branch points static unsigned exam_series11() { + using GiNaC::log; + unsigned result = 0; ex e, d; symbol a("a"); @@ -285,6 +291,8 @@ static unsigned exam_series11() // Series expansion of other functions around branch points static unsigned exam_series12() { + using GiNaC::log; + unsigned result = 0; ex e, d;