From c16c15367f20516c18da5168589ccb2dd1f0aae8 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 17 Oct 2016 12:22:50 -0400 Subject: [PATCH] [Matlab] Fix ThermoPhase 'clear' method This function was actually being directed into 'thermoget' and calling the 'newFromXML' method (on a non-existent XML tree) instead of calling the 'del' method. --- interfaces/matlab/toolbox/@ThermoPhase/clear.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/matlab/toolbox/@ThermoPhase/clear.m b/interfaces/matlab/toolbox/@ThermoPhase/clear.m index c4655f873..239646f31 100644 --- a/interfaces/matlab/toolbox/@ThermoPhase/clear.m +++ b/interfaces/matlab/toolbox/@ThermoPhase/clear.m @@ -6,5 +6,5 @@ function clear(tp) % object that derives from ThermoPhase) % -thermo_set(tp.tp_id, 0, 10); +thermo_set(tp.tp_id, 10, 0);