Added return statements to algorithms

This commit is contained in:
Andreas Tsouchlos 2023-04-15 18:56:10 +02:00
parent c2e41ecf6a
commit ff0e2beea0

View File

@ -195,6 +195,7 @@ while stopping critierion unfulfilled do
$r_i \leftarrow r_i + \omega \left( s_i - y_i \right)$ $r_i \leftarrow r_i + \omega \left( s_i - y_i \right)$
end for end for
end while end while
return $\boldsymbol{s}$
\end{genericAlgorithm} \end{genericAlgorithm}
\caption{Proximal decoding} \caption{Proximal decoding}
@ -224,6 +225,7 @@ while stopping criterion unfulfilled do
|\vspace{7mm}\Reactivatenumber| |\vspace{7mm}\Reactivatenumber|
end for end for
end while end while
return $\tilde{\boldsymbol{c}}$
\end{genericAlgorithm} \end{genericAlgorithm}
\caption{\ac{LP} decoding using \ac{ADMM}} \caption{\ac{LP} decoding using \ac{ADMM}}
\label{fig:comp:message_passing:admm} \label{fig:comp:message_passing:admm}