From a112cfd77ded432bfedea66e3f01223c2376a11d Mon Sep 17 00:00:00 2001 From: Quentin Lambert Date: Tue, 31 Oct 2023 13:45:31 +0100 Subject: [PATCH] Remove unnecessary noEvent Co-authored-by: Hans Olsson --- Modelica/Blocks/Sources.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Blocks/Sources.mo b/Modelica/Blocks/Sources.mo index 017a0c944d..9dab02e1d9 100644 --- a/Modelica/Blocks/Sources.mo +++ b/Modelica/Blocks/Sources.mo @@ -1444,7 +1444,7 @@ a flange according to a given acceleration. end getInterpolationCoefficients; algorithm if size(table, 1) > 1 then - assert(noEvent(not (table[1, 1] > 0.0 or table[1, 1] < 0.0)), "The first point in time has to be set to 0, but is table[1,1] = " + String(table[1, 1])); + assert(not (table[1, 1] > 0.0 or table[1, 1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(table[1, 1])); end if; when {time >= pre(nextEvent),initial()} then (a,b,nextEventScaled,last) := getInterpolationCoefficients(