diff --git a/TUTORIAL.md b/TUTORIAL.md index f098ef9..e9fe411 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -42,7 +42,8 @@ The next step is to create `CodedPacket`s that can be transmitted and combined. ``` CodedPacket[] codewords = new CodedPacket[blockNumber]; -for ( int i = 0 ; i < blockNumber ; i++) { +for ( int i = 0 ; i < blockNumber ; i++) */ for loop is a repetition control structure that allows you to efficiently write a loop that needs to execute a specific number of times,here specific numbers of times is less than block number +{ codewords[i] = new CodedPacket( inputPackets[i], blockNumber, ff); } ``` @@ -76,4 +77,4 @@ for ( int i = 0; i < blockNumber ; i++) { ``` -Every time a packet is added the decoder tries to decode as much as it can and returns the blocks it was able to decode. \ No newline at end of file +Every time a packet is added the decoder tries to decode as much as it can and returns the blocks it was able to decode.