mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +01:00
actually (<) and (<=) for FPSymbols were never used
This commit is contained in:
parent
5f90c0c7b1
commit
8dd4d96b6f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user