]> www.ginac.de Git - ginac.git/commitdiff
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 20:44:35 +0000 (22:44 +0200)
This patch is required for GCC-4.5.

ginac/function.pl

index 81c08ae44881f13143d80c02311bfd355a3ec1b7..aa55c9bcf1ff23c854b3b754c87d78e53f26bdcf 100644 (file)
@@ -1314,8 +1314,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)