Skip to content

Commit

Permalink
use structlib.write in integrate
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-s committed Jul 17, 2019
1 parent 61ba075 commit fdcd879
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
6 changes: 0 additions & 6 deletions @xfit/.gitignore

This file was deleted.

7 changes: 1 addition & 6 deletions @xfit/xfit.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@


properties (SetAccess = private)
best_cost


% logging
best_cost
timestamp
end

Expand Down Expand Up @@ -140,10 +139,6 @@
end % end methods


methods (Static)
b = binCost(r,a);
end



end % end classdef
2 changes: 1 addition & 1 deletion @xolotl/integrate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fdcd879

Please sign in to comment.