Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Oct 26, 2023
1 parent 3891c62 commit e7e5fae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ ImmutableArrays = "667c17eb-ab9b-4487-935f-1c621bb82497"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Muscle = "21fe5c4b-a943-414d-bf3e-516f24900631"
OMEinsum = "ebe7aa44-baf0-506c-a96f-8464559b3922"
Permutations = "2ae35dd2-176d-5d53-8349-f30d82d94d4f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
ValSplit = "0625e100-946b-11ec-09cd-6328dd093154"
Expand Down Expand Up @@ -43,7 +42,6 @@ Graphs = "1.7"
Makie = "0.18, 0.19"
Muscle = "0.1"
OMEinsum = "0.7"
Permutations = "0.4"
Quac = "0.2"
ValSplit = "0.1"
julia = "1.9"
8 changes: 0 additions & 8 deletions src/Helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ function Base.iterate(it::RingPeek{Itr}, state) where {Itr}
((x, peeked), newstate)
end

function normalizeperm!(permutator)
permutator .= permutator .- minimum(permutator) .+ 1
k = only(setdiff(1:4, permutator))
permutator[permutator.>k] .-= 1

permutator
end

const NUM_UNICODE_LETTERS = VERSION >= v"1.9" ? 136104 : 131756

"""
Expand Down

0 comments on commit e7e5fae

Please sign in to comment.