X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fex.h;h=6fd45c9d24356bc2af5a2b6458adb719a383c25c;hp=343fa367c8614bba081b4535639b8652b953e322;hb=6c946d4c762f5a0d6a3b742f03556dd018d63886;hpb=ae6c004bd31e02dda37357d74b641c101b116c73 diff --git a/ginac/ex.h b/ginac/ex.h index 343fa367..6fd45c9d 100644 --- a/ginac/ex.h +++ b/ginac/ex.h @@ -115,7 +115,7 @@ public: const_postorder_iterator postorder_end() const noexcept; // evaluation - ex eval(int level = 0) const { return bp->eval(level); } + ex eval() const { return bp->eval(); } ex evalf(int level = 0) const { return bp->evalf(level); } ex evalm() const { return bp->evalm(); } ex eval_ncmul(const exvector & v) const { return bp->eval_ncmul(v); } @@ -755,8 +755,8 @@ inline ex to_polynomial(const ex & thisex, lst & repl_lst) inline ex collect(const ex & thisex, const ex & s, bool distributed = false) { return thisex.collect(s, distributed); } -inline ex eval(const ex & thisex, int level = 0) -{ return thisex.eval(level); } +inline ex eval(const ex & thisex) +{ return thisex.eval(); } inline ex evalf(const ex & thisex, int level = 0) { return thisex.evalf(level); }