Fix weird ctor invocation syntax.
authorRichard Kreckel <kreckel@ginac.de>
Tue, 27 Apr 2010 20:44:35 +0000 (22:44 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Tue, 27 Apr 2010 21:01:55 +0000 (23:01 +0200)
This patch is required for GCC-4.5.

ginac/function.pl

index 4db801b..a866b7e 100644 (file)
@@ -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)