Skip to content

Commit

Permalink
Update error correction
Browse files Browse the repository at this point in the history
  • Loading branch information
kam17049 authored Nov 7, 2018
1 parent 4c759c2 commit cff7f8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore/error correction
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,10 @@ def appendParityToFrame(frame, parity):
frame1 = appendParityColumn(frame, parity)
frame2 = appendParityRow(frame1, parity)
return frame2

def appendParityToFrames(frames, parity):
newFrames = []
for frame in frames:
newFrame = appendParityToFrame(frame, parity)
newFrames.append(newFrame)
return newFrames

0 comments on commit cff7f8b

Please sign in to comment.