--- pynac-pynac-0.7.27/ginac/container.h 2021-01-24 10:52:22.000000000 +0100 +++ pynac-pynac-0.7.27/ginac/container.h 2021-01-24 22:06:33.000000000 +0100 @@ -591,13 +591,11 @@ ex result(thiscontainer(std::move(vp))); if (is_a >(result)) return ex_to(result).subs_one_level(m, options); - - return result; + return result; } else { if (is_a >(*this)) - return subs_one_level(m, options); - - return *this; + return subs_one_level(m, options); + return *this; } }