actually (<) and (<=) for FPSymbols were never used

This commit is contained in:
kalmar 2017-05-11 18:25:23 +02:00
parent 5f90c0c7b1
commit 8dd4d96b6f
1 changed files with 0 additions and 5 deletions

View File

@ -87,12 +87,7 @@ function (==)(s::FPSymbol, t::FPSymbol)
return true
end
function (<)(s::FPSymbol, t::FPSymbol)
isone(s) && return true
return s.str == t.str && s.pow < t.pow
end
(<=)(s::FPSymbol, t::FPSymbol) = s == t || s < t
inv(s::FPSymbol) = change_pow(s, -s.pow)