[Matlab] Fix setState_sat*.m functions
Fix the setState_satLiquid and setState_satVapor functions so that they call the main set method instead of the underlying C++ layer. Resolves #299.
This commit is contained in:
parent
87aaa6ad1e
commit
5aabfe9704
2 changed files with 2 additions and 2 deletions
|
|
@ -6,4 +6,4 @@ function setState_satLiquid(tp)
|
|||
% class derived from ThermoPhase)
|
||||
%
|
||||
|
||||
thermo_set(tp.tp_id, 2, 0);
|
||||
set(tp, 'T', temperature(tp), 'Liquid', 1.0)
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ function setState_satVapor(tp)
|
|||
% class derived from ThermoPhase)
|
||||
%
|
||||
|
||||
thermo_set(tp.tp_id, 3, 0);
|
||||
set(tp, 'T', temperature(tp), 'Vapor', 1.0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue