From 218c6d984fb8fe34e3c19ff0d533ce4df52889d6 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Thu, 16 Dec 2021 22:40:23 +0100 Subject: [PATCH] Break oversize listing line in AssertionLevel example --- chapters/equations.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chapters/equations.tex b/chapters/equations.tex index 2744ae222..e1607c654 100644 --- a/chapters/equations.tex +++ b/chapters/equations.tex @@ -493,7 +493,8 @@ \subsection{assert}\label{assert} When the temperature gets out of the smaller interval, but still stays in the largest one, the user should be warned, but the simulation should continue without any further action. The corresponding code would be: \begin{lstlisting}[language=modelica] -assert(T > 250 and T < 400, "Medium model outside full accuracy range", AssertionLevel.warning); +assert(T > 250 and T < 400, "Medium model outside full accuracy range", + AssertionLevel.warning); assert(T > 200 and T < 500, "Medium model outside feasible region"); \end{lstlisting} \end{nonnormative}