Skip to content

Commit

Permalink
nz = 15 line in fitz.py must have been deleted by accident on the abh…
Browse files Browse the repository at this point in the history
…ijeet_per_camera

branch and this broke a couple unit tests.

Restored.
  • Loading branch information
craigwarner-ufastro committed Sep 19, 2023
1 parent 055aa12 commit 0397d18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/redrock/fitz.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def fitz(zchi2, redshifts, target, template, nminima=3, archetype=None, use_gpu=
results = list()
#Define nz here instead of hard-coding length 15 and then defining nz as
#length of zz list
nz = 15

for imin in find_minima(zchi2):
if len(results) == nminima:
Expand Down

0 comments on commit 0397d18

Please sign in to comment.