Skip to content

Commit

Permalink
Break oversize listing line in 'quadrature2'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 17, 2021
1 parent 9968f48 commit 927c5f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chapters/functions.tex
Expand Up @@ -542,7 +542,9 @@ \subsection{Functional Input Arguments to Functions}\label{functional-input-argu
input Integrand integrand; // Integrand is a partial function type
output Real integral;
algorithm
integral := quadrature(x1, (x1+x2)/2, integrand)+ quadrature((x1+x2)/2, x2, integrand);
integral :=
quadrature(x1, (x1 + x2) / 2, integrand) +
quadrature((x1 + x2) / 2, x2, integrand);
end quadrature2;
\end{lstlisting}
\end{example}
Expand Down

0 comments on commit 927c5f8

Please sign in to comment.