We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 201ffaa commit 8d6513eCopy full SHA for 8d6513e
src/biosequence/biosequence.jl
@@ -109,9 +109,7 @@ Base.empty(x::BioSequence) = empty(typeof(x))
109
BitsPerSymbol(x::BioSequence) = BitsPerSymbol(Alphabet(typeof(x)))
110
bits_per_symbol(::Type{T}) where {T <: BioSequence} = bits_per_symbol(Alphabet(T))
111
bits_per_symbol(x::BioSequence) = bits_per_symbol(typeof(x))
112
-
113
-const biosequencehash_seed = 0xd3f2809990a31c79
114
-Base.hash(s::BioSequence, x::UInt) = Base.hash_shaped(s, x ⊻ biosequencehash_seed)
+Base.hash(s::BioSequence, x::UInt) = Base.hash_shaped(s, x)
115
116
function Base.similar(seq::BioSequence, len::Integer=length(seq))
117
return typeof(seq)(undef, len)
0 commit comments