From 8dd4d96b6fe6b5c28c9f0f4c87b19e094dbdbd26 Mon Sep 17 00:00:00 2001 From: kalmar Date: Thu, 11 May 2017 18:25:23 +0200 Subject: [PATCH] actually (<) and (<=) for FPSymbols were never used --- src/FPGroups.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/FPGroups.jl b/src/FPGroups.jl index a6c9b93..3ec0802 100644 --- a/src/FPGroups.jl +++ b/src/FPGroups.jl @@ -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)