mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 02:05:30 +01:00
remove threading in == for Automorphisms
This commit is contained in:
parent
5da33782aa
commit
84bfbd7408
@ -66,9 +66,11 @@ function Base.:(==)(g::A, h::A) where A<:FPGroupElement{<:AutomorphismGroup}
|
||||
hash(g) != hash(h) && return false
|
||||
|
||||
# words are different, but hashes agree
|
||||
@sync begin
|
||||
!img_computed && Threads.@spawn img = equality_data(g)
|
||||
!imh_computed && Threads.@spawn imh = equality_data(h)
|
||||
if !img_computed
|
||||
img = equality_data(g)
|
||||
end
|
||||
if !imh_computed
|
||||
imh = equality_data(h)
|
||||
end
|
||||
|
||||
equal = img == imh
|
||||
|
Loading…
Reference in New Issue
Block a user