Skip to content

Commit 3e9f591

Browse files
committed
Update for static analysis
1 parent dad80a1 commit 3e9f591

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*.jl.mem
44
.DS_Store
55
Manifest.toml
6+
Manifest-v1.*.toml
67
TODO.md
78
docs/build
89
/.vscode

src/construction_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ end
211211
for i in 0:(S - 1)
212212
encoding = UInt(BioSequences.extract_encoded_element(seq, from + i))::UInt
213213
isone(count_ones(encoding)) ||
214-
throw_uncertain(Alphabet(kmer), eltype(seq), encoding)
214+
throw_uncertain(Alphabet(kmer)::Alphabet, eltype(seq)::Type{<:BioSymbol}, encoding)
215215
kmer = shift_encoding(kmer, trailing_zeros(encoding) % UInt)
216216
end
217217
return kmer

src/tuple_bitflipping.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222
# the `carry` argument to the right side of the resulting tuple.
2323
# Returns (new_carry, new_tuple)
2424
@inline function leftshift_carry(
25-
x::Tuple{Vararg{T}},
25+
x::Tuple{T, Vararg{T}},
2626
nbits::Integer,
2727
carry::T,
2828
) where {T <: Unsigned}
@@ -33,7 +33,7 @@ end
3333
end
3434

3535
@inline function rightshift_carry(
36-
x::Tuple{Vararg{T}},
36+
x::Tuple{T, Vararg{T}},
3737
nbits::Integer,
3838
carry::T,
3939
) where {T <: Unsigned}

0 commit comments

Comments
 (0)