From bd300d83a580865891cfd0c8f364a19ba6aa6d29 Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 19 Jul 2017 22:52:35 +0200 Subject: [PATCH] compare GroupRing's pms only if basis is not available --- src/GroupRings.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index d2d0216..157374a 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -253,8 +253,8 @@ function (==)(A::GroupRing, B::GroupRing) A.basis == B.basis || return false else warn("Bases of GroupRings are not defined, comparing products mats.") + A.pm == B.pm || return false end - A.pm == B.pm || return false return true end