From 4e9cabbd725bacebca9bee71e2f9250e2b618faa Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Tue, 16 Mar 2021 11:55:31 +0100 Subject: [PATCH] Update chapters/classes.tex Co-authored-by: Henrik Tidefelt --- chapters/classes.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/classes.tex b/chapters/classes.tex index 837279c84..0a97c1685 100644 --- a/chapters/classes.tex +++ b/chapters/classes.tex @@ -384,7 +384,7 @@ \subsection{Component Variability Prefixes discrete, parameter, constant}\label{ \begin{nonnormative} For \lstinline!Real! variables we can distinguish two subtly different categories: discrete-time and piecewise constant. -The discrete-time \lstinline!Real! variables must be assigned in a when-clause. +For a \lstinline!Real! variable, being discrete-time is equivalent to being assigned in a when-clause. The discrete-time variables can be used as argument to \lstinline!pre!. The discrete-time variables are a subset of all variables that are piecewise constant and only change at events. Tools may optimize code to only compute piecewise constant variables at events.