From e2ff9789449e4e18b78997d1b7b4f6f24c7e34d5 Mon Sep 17 00:00:00 2001 From: Aaron Huber Date: Tue, 5 Oct 2021 11:18:21 -0400 Subject: [PATCH] Fixed OnePass example to use the correct variable names as in the figure. --- app_one-pass-analysis.tex | 2 +- main.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app_one-pass-analysis.tex b/app_one-pass-analysis.tex index a93493c..bcb6b63 100644 --- a/app_one-pass-analysis.tex +++ b/app_one-pass-analysis.tex @@ -39,7 +39,7 @@ Please note that it is \textit{assumed} that the original call to \onepass consi \subsection{$\onepass$ Example} \begin{Example}\label{example:one-pass} - Let $\etree$ encode the expression $(X_1 + X_2)(X_1 - X_2) + X_2^2$. After one pass, \Cref{alg:one-pass-iter} would have computed the following weight distribution. For the two inputs of the sink gate $\circuit$, $\circuit.\lwght = \frac{4}{5}$ and $\circuit.\rwght = \frac{1}{5}$. Similarly, for $\stree$ denoting the left input of $\circuit_{\lchild}$, $\stree.\lwght = \stree.\rwght = \frac{1}{2}$. This is depicted in \Cref{fig:expr-tree-T-wght}. + Let $\etree$ encode the expression $(X + Y)(X - Y) + Y^2$. After one pass, \Cref{alg:one-pass-iter} would have computed the following weight distribution. For the two inputs of the sink gate $\circuit$, $\circuit.\lwght = \frac{4}{5}$ and $\circuit.\rwght = \frac{1}{5}$. Similarly, for $\stree$ denoting the left input of $\circuit_{\lchild}$, $\stree.\lwght = \stree.\rwght = \frac{1}{2}$. This is depicted in \Cref{fig:expr-tree-T-wght}. \end{Example} \begin{figure}[h!] diff --git a/main.tex b/main.tex index adb4407..4ede5f4 100644 --- a/main.tex +++ b/main.tex @@ -29,7 +29,7 @@ \usepackage[normalem]{ulem} \usepackage{subcaption} \usepackage{booktabs} -\usepackage{todonotes} +\usepackage[disable]{todonotes} \usepackage{graphicx} \usepackage{listings} %%%%%%%%%% SQL + proveannce listing settings