Skip to content

Commit

Permalink
#1209 fixed (Wrong definition of inverse annotation) in
Browse files Browse the repository at this point in the history
Modelica.Media.Incompressible.TableBased.T_ph

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@6817 7ce873d0-865f-4ce7-a662-4bb36ea78beb
  • Loading branch information
otter committed Jul 12, 2013
1 parent d0876fc commit 6cc3cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Media/Incompressible.mo
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ which is only exactly true for a fluid with constant density d=d0.
end Internal;
algorithm
T := Internal.solve(h, T_min, T_max, p, {1}, Internal.f_nonlinear_Data());
annotation(Inline=false, LateInline=true, inverse=h_pT(p,T));
annotation(Inline=false, LateInline=true, inverse(h=h_pT(p,T)));
end T_ph;

function T_ps "Compute temperature from pressure and specific enthalpy"
Expand Down

0 comments on commit 6cc3cb2

Please sign in to comment.