Skip to content

Commit

Permalink
Make ndims constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jun 25, 2020
1 parent 8ce53fc commit 899bae5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions chapters/operatorsandexpressions.tex
Expand Up @@ -1292,6 +1292,14 @@ \subsection{Constant Expressions}\doublelabel{constant-expressions}
\lstinline!edge!, \lstinline!change!, \lstinline!sample!, and \lstinline!pre!, a function or operator with constant
subexpressions as argument (and no parameters defined in the function)
is a constant expression.
\item
Some function calls are parameter expressions even if the arguments
are not:

\begin{itemize}
\item
\lstinline!ndims(A)!
\end{itemize}
\end{itemize}

Components declared as constant shall have an associated declaration
Expand Down Expand Up @@ -1321,8 +1329,6 @@ \subsection{Parameter Expressions}\doublelabel{parameter-expressions}
are not:

\begin{itemize}
\item
\lstinline!ndims(A)!
\item
\lstinline!cardinality(c)!, see restrictions for use in \autoref{cardinality-deprecated}.
\item
Expand Down

0 comments on commit 899bae5

Please sign in to comment.