Skip to content

Commit

Permalink
More clearly define that fallfack value is applicable everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Sep 9, 2022
1 parent eb35549 commit b68547a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/classes.tex
Expand Up @@ -1398,8 +1398,8 @@ \section{Predefined Types and Classes}\label{predefined-types-and-classes}
These are called the \firstuse[primitive type]{primitive types}.

\begin{definition}[Fallback value]\label{def:fallback-value}\index{fallback value}
When the start-value is needed and the \lstinline!start!-attribute is not provided, the fallback value is used instead.
The fallback value can be be used as guess-value in system of equations and when initializing variables in algorithm sections.
In situations where the \lstinline!start!-attribute would apply if provided, but the attribute is not provided, the \emph{fallback} shall be used instead.
Tools are recommended to give diagnostics when the fallback value is used.
The fallback values for variables of the different predefined types are defined below.
\end{definition}

Expand Down

0 comments on commit b68547a

Please sign in to comment.