Fixed line 8 and line 11 of Iterative OnePass.

This commit is contained in:
Aaron Huber 2021-02-12 13:09:44 -05:00
parent 2a359b6068
commit 85216530df

View file

@ -618,10 +618,10 @@ level 2/.style={sibling distance=0.7cm},
\State \gate.\prt $\gets \abs{\gate.\val}$
\ElsIf{\gate.\type $= \circmult$}
\State \gate.\prt $\gets \gate_\linput.\prt \times \gate_\rinput.\prt$
\Else \Comment{\gate.\type $= \circplus$}
\Else %\Comment{\gate.\type $= \circplus$}
\State \gate.\prt $\gets \gate_\linput.\prt + \gate_\rinput.\prt$
\State \gate.\lwght $\gets \frac{\gate_\linput.\prt}{\gate.\prt}$
\State \circuit.\rwght $\gets \frac{\gate_\rinput.\prt}{\gate.\prt}$
\State \gate.\rwght $\gets \frac{\gate_\rinput.\prt}{\gate.\prt}$
\EndIf
\State \vari{sum} $\gets \gate.\prt$
\EndFor