From 6bf39e87c42eb869ceaa0b0d5157d276653c48cf Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Tue, 26 Aug 2014 22:04:46 +0000 Subject: [PATCH] [Matlab] Minor fixes to docs and screen output Fix missing parameter docs in Matlab ReactorNet setTolerances. Fix missing semicolon in ThermoPhase display --- interfaces/matlab/toolbox/@ReactorNet/setTolerances.m | 2 ++ interfaces/matlab/toolbox/@ThermoPhase/display.m | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/interfaces/matlab/toolbox/@ReactorNet/setTolerances.m b/interfaces/matlab/toolbox/@ReactorNet/setTolerances.m index 05ca2c9c2..d3e866d1c 100644 --- a/interfaces/matlab/toolbox/@ReactorNet/setTolerances.m +++ b/interfaces/matlab/toolbox/@ReactorNet/setTolerances.m @@ -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: diff --git a/interfaces/matlab/toolbox/@ThermoPhase/display.m b/interfaces/matlab/toolbox/@ThermoPhase/display.m index fa0c126c5..c154b95e0 100644 --- a/interfaces/matlab/toolbox/@ThermoPhase/display.m +++ b/interfaces/matlab/toolbox/@ThermoPhase/display.m @@ -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);