From f25d2ae631e70ce9ea56404073f53b4deda74d9f Mon Sep 17 00:00:00 2001
From: Tommy Thorn <tommy-git@thorn.ws>
Date: Fri, 5 Mar 2010 10:46:44 -0800
Subject: [PATCH 02/18] Fix A.4.3.1 follow_context returns the label, not the probability

---
 dataenc.tex |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dataenc.tex b/dataenc.tex
index faabc31..2439a48 100644
--- a/dataenc.tex
+++ b/dataenc.tex
@@ -409,7 +409,7 @@ The follow context selection function $follow\_context()$ shall be defined as fo
 \begin{pseudo}{follow\_context}{index, context\_prob\_set}
 \bsCODE{pos= \min(index, length(context\_prob\_set[FOLLOW])-1) }
 \bsCODE{ctx\_label = context\_prob\_set[FOLLOW][pos]}
-\bsRET{\AContexts[ctx\_label]}
+\bsRET{ctx\_label}
 \end{pseudo}
 
 \paragraph{Unsigned integer decoding}
-- 
1.7.0

