diff --git a/ac_encode.py b/ac_encode.py index 57d013f..1700b04 100644 --- a/ac_encode.py +++ b/ac_encode.py @@ -240,10 +240,10 @@ def test(): N = len(s) # required for decoding later. print("original:", s) - e = encode(s, 10, 1) + e = encode(s, c0=10, c1=1) print("encoded: ", e) - ds = decode(e, N, 10, 1) + ds = decode(e, N, c0=10, c1=1) print("decoded: ", ds) if ds != s: