You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by jmattsson on 9 Oct 2014 11:54 UTC
The function Modelica.Media.Incompressible.TableBased.Polynomials_Temp.integral returns a vector where all but the last cell are assigned values in the function. According to 12.4.4 in the 3.2r2 specification, that means that the value of cell that is never assigned is undefined.
There are test models (ModelicaTest.Math.MatricesInModel & ModelicaTest.TestAllFunctions) that call this function and asserts that the last value in the array is equal to 0.
The function should be updated to explicitly assign 0 to the last cell in the array.
Reported by jmattsson on 9 Oct 2014 11:54 UTC
The function
Modelica.Media.Incompressible.TableBased.Polynomials_Temp.integral
returns a vector where all but the last cell are assigned values in the function. According to 12.4.4 in the 3.2r2 specification, that means that the value of cell that is never assigned is undefined.There are test models (ModelicaTest.Math.MatricesInModel & ModelicaTest.TestAllFunctions) that call this function and asserts that the last value in the array is equal to 0.
The function should be updated to explicitly assign 0 to the last cell in the array.
Migrated-From: https://trac.modelica.org/Modelica/ticket/1583
The text was updated successfully, but these errors were encountered: