mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-26 02:20: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
|
hash(g) != hash(h) && return false
|
||||||
|
|
||||||
# words are different, but hashes agree
|
# words are different, but hashes agree
|
||||||
@sync begin
|
if !img_computed
|
||||||
!img_computed && Threads.@spawn img = equality_data(g)
|
img = equality_data(g)
|
||||||
!imh_computed && Threads.@spawn imh = equality_data(h)
|
end
|
||||||
|
if !imh_computed
|
||||||
|
imh = equality_data(h)
|
||||||
end
|
end
|
||||||
|
|
||||||
equal = img == imh
|
equal = img == imh
|
||||||
|
Loading…
Reference in New Issue
Block a user