Skip to content

Commit

Permalink
Gave ODEModels .unindexed_params. Currently they do not yet support i…
Browse files Browse the repository at this point in the history
…ndices though.
  • Loading branch information
Martin Roelfs committed Sep 10, 2018
1 parent 6b9b5cb commit 2f05753
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions symfit/core/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,8 @@ def __init__(self, model_dict, initial, *lsoda_args, **lsoda_kwargs):
# self.params = sorted(self.model_params | self.initial_params, key=sort_func)
# self.model_params = sorted(self.model_params, key=sort_func)
# self.initial_params = sorted(self.initial_params, key=sort_func)
self.unindexed_params = self.params
self.indexed_params = []

# Make Variable object corresponding to each sigma var.
self.sigmas = {var: var.__class__('sigma_{}'.format(var)) for var in self.dependent_vars}
Expand Down

0 comments on commit 2f05753

Please sign in to comment.