From 248a9c030541968344b2e717b56c08abad57638d Mon Sep 17 00:00:00 2001 From: Connor Date: Mon, 10 Sep 2018 13:33:41 -0700 Subject: [PATCH] --- ac_encode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: