From: Richard Kreckel Date: Tue, 27 Apr 2010 20:44:35 +0000 (+0200) Subject: Fix weird ctor invocation syntax. X-Git-Tag: release_1-6-0~59 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=e22d2ed95925d870876c4fcd922ea2a9cfdbdab1 Fix weird ctor invocation syntax. This patch is required for GCC-4.5. --- diff --git a/ginac/function.pl b/ginac/function.pl index 4db801bb..a866b7e3 100644 --- a/ginac/function.pl +++ b/ginac/function.pl @@ -1312,8 +1312,8 @@ ex function::power(const ex & power_param) const // power of function // No derivative defined? Then return abstract derivative object if (opt.power_f == NULL) - return (new power::power(*this, power_param))->setflag(status_flags::dynallocated | - status_flags::evaluated); + return (new GiNaC::power(*this, power_param))->setflag(status_flags::dynallocated | + status_flags::evaluated); current_serial = serial; if (opt.power_use_exvector_args)