Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz committed Nov 29, 2024
1 parent dac2be2 commit 95f2d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ecc/codes/classical/hamming.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using SparseArrays

abstract type ClassicalCode end

"""
Expand Down Expand Up @@ -25,8 +27,6 @@ struct Hamming <: ClassicalCode
end
end

using SparseArrays

function parity_checks(h::Hamming)
n = 2 ^ h.r - 1
rows = Int[]
Expand Down

0 comments on commit 95f2d21

Please sign in to comment.