[Matlab] Minor fixes to docs and screen output

Fix missing parameter docs in Matlab ReactorNet setTolerances. Fix missing semicolon in ThermoPhase display
This commit is contained in:
Bryan W. Weber 2014-08-26 22:04:46 +00:00
parent 979bdffe6e
commit 6bf39e87c4
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
function setTolerances(r, rtol, atol)
% SETTOLERANCES Set the error tolerances.
% setTolerances(r, rtol, atol)
% :param r:
% Instance of class :mat:func:`ReactorNet`
% :param rtol:
% Scalar relative error tolerance
% :param atol:

View file

@ -1,5 +1,5 @@
function display(self, threshold)
if nargin < 2
threshold = 1e-14
threshold = 1e-14;
end
phase_get(thermo_hndl(self), 15, 1, threshold);