From fdcd879003c2b589e2658b0c38bd7821b6abf87d Mon Sep 17 00:00:00 2001 From: "gitlab@srinivas.gs" Date: Wed, 17 Jul 2019 16:40:42 -0400 Subject: [PATCH] use structlib.write in integrate --- @xfit/.gitignore | 6 ------ @xfit/xfit.m | 7 +------ @xolotl/integrate.m | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 @xfit/.gitignore diff --git a/@xfit/.gitignore b/@xfit/.gitignore deleted file mode 100644 index 7022310b..00000000 --- a/@xfit/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -*DS_Store -*.mat -*.pdf -*.eps -*.sublime-workspace -*.fig \ No newline at end of file diff --git a/@xfit/xfit.m b/@xfit/xfit.m index 695b910a..a08528af 100644 --- a/@xfit/xfit.m +++ b/@xfit/xfit.m @@ -37,10 +37,9 @@ properties (SetAccess = private) - best_cost - % logging + best_cost timestamp end @@ -140,10 +139,6 @@ end % end methods -methods (Static) - b = binCost(r,a); -end - end % end classdef diff --git a/@xolotl/integrate.m b/@xolotl/integrate.m index 47f4e262..c5e63903 100644 --- a/@xolotl/integrate.m +++ b/@xolotl/integrate.m @@ -251,7 +251,7 @@ end z = a + this_mech_size - 1; - data.(all_mechanisms{i}) = cont_state(:,a:z); + data = structlib.write(data, all_mechanisms{i}, cont_state(:,a:z)); a = z + 1; end