Skip to content

Commit

Permalink
Expected output
Browse files Browse the repository at this point in the history
This is expected output for OpenModelica/OMCompiler/#1031 which fixes
expEquals for DAE.TSUB
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Jul 19, 2016
1 parent 04832d5 commit 560200b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flattening/modelica/operators/OperatorsTuples.mo
Expand Up @@ -113,6 +113,6 @@ end OperatorsTuples;
// parameter Real m_flows[2] = 2.0;
// Real x;
// equation
// x = 0.5 * Modelica.Math.Vectors.interpolate({0.0, 1.0}, {pressure_drop[1,2] * /*Real*/(sign(m_flows[1])), pressure_drop[2,2] * /*Real*/(sign(m_flows[1]))}, abs(m_flows[2]), 1)[1] - Modelica.Math.Vectors.interpolate({0.0, 1.0}, {pressure_drop[1,2] * /*Real*/(sign(m_flows[1])), pressure_drop[2,2] * /*Real*/(sign(m_flows[1]))}, abs(m_flows[2]), 1)[1];
// x = -0.5 * Modelica.Math.Vectors.interpolate({0.0, 1.0}, {pressure_drop[1,2] * /*Real*/(sign(m_flows[1])), pressure_drop[2,2] * /*Real*/(sign(m_flows[1]))}, abs(m_flows[2]), 1)[1];
// end OperatorsTuples;
// endResult

0 comments on commit 560200b

Please sign in to comment.