Skip to content

Commit

Permalink
Merge pull request #7984 from nden/np-dev-failure
Browse files Browse the repository at this point in the history
fix np dev failure
  • Loading branch information
nden committed Oct 26, 2018
2 parents 79f4c24 + 882ef07 commit 38130bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -134,6 +134,8 @@ astropy.modeling
- Add a ``separability_matrix`` function which returns the correlation matrix
of inputs and outputs. [#7803]

- Fixed compatibility of ``JointFitter`` with the latest version of Numpy. [#7984]

astropy.nddata
^^^^^^^^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion astropy/modeling/fitting.py
Expand Up @@ -1132,7 +1132,7 @@ def _model_to_fit_params(self):
fparams = []
fparams.extend(self.initvals)
for model in self.models:
params = [p.flatten() for p in model.parameters]
params = model.parameters.tolist()
joint_params = self.jointparams[model]
param_metrics = model._param_metrics
for param_name in joint_params:
Expand Down

0 comments on commit 38130bb

Please sign in to comment.