Skip to content

Commit 03464e6

Browse files
committed
🔍fix the syntax error
1 parent 91ad012 commit 03464e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Convolutional/convolutional_code.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function is_minimal(C::AbstractConvolutionalCode)
211211
G_h = zeros(UInt8, C.k, C.n)
212212
for r = 1:C.k
213213
for c in C.n
214-
degree(C.G[r, c]) == C.vi[r] && G_h[r, c] == 1
214+
degree(C.G[r, c]) == C.vi[r] && (G_h[r, c] = 1)
215215
end
216216
end
217217
return k == rank(G_h)

0 commit comments

Comments
 (0)