From d6f03a487805f54d01af4b77526d3be62a078272 Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Mon, 14 Aug 2023 11:18:21 +0200 Subject: [PATCH] Update chapters/arrays.tex Co-authored-by: Henrik Tidefelt --- chapters/arrays.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/arrays.tex b/chapters/arrays.tex index fbc38d003..e5df13334 100644 --- a/chapters/arrays.tex +++ b/chapters/arrays.tex @@ -1448,8 +1448,8 @@ \section{Empty Arrays}\label{empty-arrays} Real[0, m] * Real[m, n] = Real[0, n] // empty matrix Real[m, n] * Real[n, 0] = Real[m, 0] // empty matrix Real[m, 0] * Real[0, n] = fill(0.0, m, n) // matrix of zeros -// Note fill(0.0, m, n) will be an empty matrix if m or n is 0 \end{lstlisting} +Note that \lstinline!fill(0.0, m, n)! will be an empty matrix if \lstinline!m! or \lstinline!n! is zero. \begin{example} \begin{lstlisting}[language=modelica]