Skip to content

Commit f39bc48

Browse files
authored
Merge pull request #25 from kirlf/patch-2
Update method visualize()
2 parents 68c096a + 84b59c0 commit f39bc48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commpy/channelcoding/convcode.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def visualize(self, trellis_length = 2, state_order = None,
257257
edge_colors = ["#9E1BE0", "#06D65D"]
258258

259259
if state_order is None:
260-
state_order = range(self.number_states)
260+
state_order = list(range(self.number_states))
261261

262262
font = "sans-serif"
263263
fig = plt.figure()

0 commit comments

Comments
 (0)