]> www.ginac.de Git - ginac.git/blobdiff - ginac/function.pl
ncmul::eval(): don't write beyond the end of the vector.
[ginac.git] / ginac / function.pl
index 4db801bb652abc610154857e9b4d5ff6eaca16d8..07e82e19d2578c73e6c10e3e9cf76caa6a60e797 100644 (file)
@@ -1122,7 +1122,7 @@ ex function::conjugate() const
        const function_options & opt = registered_functions()[serial];
 
        if (opt.conjugate_f==0) {
-               return exprseq::conjugate();
+               return conjugate_function(*this).hold();
        }
 
        if (opt.conjugate_use_exvector_args) {
@@ -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)