]> www.ginac.de Git - ginac.git/blobdiff - ginac/power.cpp
- carried on with felonious plot about making ex::bp private.
[ginac.git] / ginac / power.cpp
index 4959525c4887223cecbeb9237e98ed1ae2f6e458..66181941feef1fbeb407922a2006b9263cf5d9df 100644 (file)
@@ -520,7 +520,7 @@ ex power::subs(const lst & ls, const lst & lr, bool no_pattern) const
         && are_ex_trivially_equal(exponent, subsed_exponent))
                return basic::subs(ls, lr, no_pattern);
        else
-               return ex(power(subsed_basis, subsed_exponent)).bp->basic::subs(ls, lr, no_pattern);
+               return power(subsed_basis, subsed_exponent).basic::subs(ls, lr, no_pattern);
 }
 
 ex power::simplify_ncmul(const exvector & v) const