From d156b9b4e9e5791ea8430ca0ac8659b9e14681c0 Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Mon, 29 Jan 2024 09:11:21 +0100 Subject: [PATCH] Add redundant algorithm (#4284) --- Modelica/Math/BooleanVectors.mo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modelica/Math/BooleanVectors.mo b/Modelica/Math/BooleanVectors.mo index 41f83ca528..c0882f36f6 100644 --- a/Modelica/Math/BooleanVectors.mo +++ b/Modelica/Math/BooleanVectors.mo @@ -6,6 +6,7 @@ function allTrue extends Modelica.Icons.Function; input Boolean b[:] "Boolean vector"; output Boolean result = size(b, 1) > 0 and min(b) "= true, if all elements of b are true"; +algorithm annotation (Inline = true, Documentation(info="

Syntax

@@ -48,6 +49,7 @@ function andTrue
   extends Modelica.Icons.Function;
   input Boolean b[:] "Boolean vector";
   output Boolean result = min(b) "= true, if all elements of b are true";
+algorithm
   annotation (Inline = true, Documentation(info="
 

Syntax

@@ -91,6 +93,7 @@ function anyTrue
   extends Modelica.Icons.Function;
   input Boolean b[:] "Boolean vector";
   output Boolean result = max(b) "= true, if at least one element of b is true";
+algorithm
   annotation (Inline = true, Documentation(info="
 

Syntax