X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Finifcns_trans.cpp;h=49e30047f9f78485e84ff4d3650dfd737bc59ef9;hb=7550e991907e1bd8dad50bfdb5af2ff2f312af8f;hp=9426e94b98a1bd29d371ad883b4c03f11bc97b87;hpb=63f3e977f92d51ea173382a9b7c4c3b18bda7b8e;p=ginac.git diff --git a/ginac/inifcns_trans.cpp b/ginac/inifcns_trans.cpp index 9426e94b..49e30047 100644 --- a/ginac/inifcns_trans.cpp +++ b/ginac/inifcns_trans.cpp @@ -4,7 +4,7 @@ * functions. */ /* - * GiNaC Copyright (C) 1999-2018 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2020 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -197,7 +197,7 @@ static ex log_series(const ex &arg, // maybe substitution of rel into arg fails because of a pole try { arg_pt = arg.subs(rel, subs_options::no_pattern); - } catch (pole_error) { + } catch (pole_error &) { must_expand_arg = true; } // or we are at the branch point anyways