When I insert more than one new line before the if-clause of an algorithm; or a new line between two if-clauses in an Algorithms-section, I get the following error: []
! LaTeX Error: There's no line here to end.
Here follows extracts from my code:
\usepackage{algorithm2e}
\begin{algorithm}[h]
(..)
\\
\If{ $currentFecUnit$ > $HIGHEST\_FEC\_UNIT\_NR\_DECODED\_GLOBAL$ OR
( $currentFecUnit$ == 0 AND $nrOfPacketsReceived$ == 1 ) }
{
ExtractPktHeaderAndPutIntoGlobalFecUnitHeaderValues ()
}
How do I add one more line before the if-clause without gettin syntax-error?

