diff --git a/Buildings/UsersGuide/ReleaseNotes/Version_12_0_0.mo b/Buildings/UsersGuide/ReleaseNotes/Version_12_0_0.mo index 36d2ea6f2c3..545f3590976 100644 --- a/Buildings/UsersGuide/ReleaseNotes/Version_12_0_0.mo +++ b/Buildings/UsersGuide/ReleaseNotes/Version_12_0_0.mo @@ -286,12 +286,15 @@ that do not lead to wrong simulation results, e.g., units are wrong or errors in documentation):

- - -
xxx +
Buildings.Controls.OBC.CDL
xxx +
Buildings.Utilities.Math.Functions.round xxx. + Removed wrong parameter declaration which causes an error in + Dymola 2025x beta1.
+ This is for + #3978.
diff --git a/Buildings/Utilities/Math/Functions/round.mo b/Buildings/Utilities/Math/Functions/round.mo index 3d279ba5dcf..6523d1bc05a 100644 --- a/Buildings/Utilities/Math/Functions/round.mo +++ b/Buildings/Utilities/Math/Functions/round.mo @@ -7,7 +7,7 @@ function round "Round real number to specified digits" output Real y "Connector of Real output signal"; protected - parameter Real fac = 10^n "Factor used for rounding"; + Real fac = 10^n "Factor used for rounding"; algorithm y := if (x>0) then floor(x*fac + 0.5)/fac else ceil(x*fac - 0.5)/fac; @@ -46,6 +46,13 @@ Buildings.Controls.OBC.CDL.Reals.Round. ", revisions="