X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fmul.cpp;h=9d2aac1518dfc795e3c440b630884dec8bcad9c6;hp=2c8456510a44d35201f5659dec50f27f32206e02;hb=f64f91817d2756622274e72afbf58cfae16cfa87;hpb=e2627379c98aeafae903cc2f04bdbdc9defa34f7 diff --git a/ginac/mul.cpp b/ginac/mul.cpp index 2c845651..9d2aac15 100644 --- a/ginac/mul.cpp +++ b/ginac/mul.cpp @@ -598,7 +598,7 @@ ex mul::algebraic_subs_mul(const exmap & m, unsigned options) const subsresult[j] = op(j); else { foundfirstsubsedfactor = true; - subsresult[j] = op(j) * power(it->second.subs(ex(repls), subs_options::subs_no_pattern) / it->first.subs(ex(repls), subs_options::subs_no_pattern), nummatches); + subsresult[j] = op(j) * power(it->second.subs(ex(repls), subs_options::no_pattern) / it->first.subs(ex(repls), subs_options::no_pattern), nummatches); } subsed[j] = true; } @@ -612,7 +612,7 @@ ex mul::algebraic_subs_mul(const exmap & m, unsigned options) const for (size_t j=0; jnops(); j++) { if (!subsed[j] && tryfactsubs(op(j), it->first, nummatches, repls)) { subsed[j] = true; - subsresult[j] = op(j) * power(it->second.subs(ex(repls), subs_options::subs_no_pattern) / it->first.subs(ex(repls), subs_options::subs_no_pattern), nummatches); + subsresult[j] = op(j) * power(it->second.subs(ex(repls), subs_options::no_pattern) / it->first.subs(ex(repls), subs_options::no_pattern), nummatches); } } } @@ -626,7 +626,7 @@ ex mul::algebraic_subs_mul(const exmap & m, unsigned options) const } } if (!subsfound) - return subs_one_level(m, options | subs_options::subs_algebraic); + return subs_one_level(m, options | subs_options::algebraic); exvector ev; ev.reserve(nops()); for (size_t i=0; i