Skip to content

Commit

Permalink
fix astropy dev tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Sep 27, 2024
1 parent 0e443dc commit 15f974d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tweakwcs/linearfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ def build_fit_matrix(rot, scale=1):

class _LevMarLSQFitter2x2(LMLSQFitter):
""" Performs fits of 2D vector-models to 2D reference points. """
def objective_function(self, fps, *args):
def objective_function(self, fps, *args, **kwargs):
model, weights, inputs, meas, *_ = args
fitter_to_model_params(model, fps)
if weights is None:
Expand Down

0 comments on commit 15f974d

Please sign in to comment.