X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Foperators.cpp;h=00c33a73c0a0971bd71cae6d767fd558c62d04f7;hb=df5f8db62815995d87ebd4f97a5dbc0d1a327b94;hp=3a4229ba1dbb72e1535671e316fbd7a076079fea;hpb=04f0c93e24cdb50f23cb3a6c0ecbeaac23b13ac0;p=ginac.git diff --git a/ginac/operators.cpp b/ginac/operators.cpp index 3a4229ba..00c33a73 100644 --- a/ginac/operators.cpp +++ b/ginac/operators.cpp @@ -271,37 +271,37 @@ const numeric operator--(numeric & lh, int) // binary relational operators ex with ex -relational operator==(const ex & lh, const ex & rh) +const relational operator==(const ex & lh, const ex & rh) { debugmsg("operator==(ex,ex)",LOGLEVEL_OPERATOR); return relational(lh,rh,relational::equal); } -relational operator!=(const ex & lh, const ex & rh) +const relational operator!=(const ex & lh, const ex & rh) { debugmsg("operator!=(ex,ex)",LOGLEVEL_OPERATOR); return relational(lh,rh,relational::not_equal); } -relational operator<(const ex & lh, const ex & rh) +const relational operator<(const ex & lh, const ex & rh) { debugmsg("operator<(ex,ex)",LOGLEVEL_OPERATOR); return relational(lh,rh,relational::less); } -relational operator<=(const ex & lh, const ex & rh) +const relational operator<=(const ex & lh, const ex & rh) { debugmsg("operator<=(ex,ex)",LOGLEVEL_OPERATOR); return relational(lh,rh,relational::less_or_equal); } -relational operator>(const ex & lh, const ex & rh) +const relational operator>(const ex & lh, const ex & rh) { debugmsg("operator>(ex,ex)",LOGLEVEL_OPERATOR); return relational(lh,rh,relational::greater); } -relational operator>=(const ex & lh, const ex & rh) +const relational operator>=(const ex & lh, const ex & rh) { debugmsg("operator>=(ex,ex)",LOGLEVEL_OPERATOR); return relational(lh,rh,relational::greater_or_equal);