From e22d2ed95925d870876c4fcd922ea2a9cfdbdab1 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Tue, 27 Apr 2010 22:44:35 +0200 Subject: [PATCH 1/1] Fix weird ctor invocation syntax. This patch is required for GCC-4.5. --- ginac/function.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.44.0