Skip to content

Commit

Permalink
fixed bug in PSF centroid fitting argument passing
Browse files Browse the repository at this point in the history
  • Loading branch information
sibirrer committed Dec 14, 2022
1 parent 6f20b42 commit ccc7aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psfr/psfr.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def _minimize(x, data, model, mask, variance, oversampling=1, negative=1):
pool = None
pso = ParticleSwarmOptimizer(_minimize,
lowerLims, upperLims, n_particles,
pool=pool, args=[data, model, variance, mask],
pool=pool, args=[data, model, mask, variance],
kwargs={'oversampling': oversampling,
'negative': -1})

Expand Down

0 comments on commit ccc7aca

Please sign in to comment.