From 0397d188f173bbc77c25ac6f347a70ed78a86e0d Mon Sep 17 00:00:00 2001 From: Craig D Warner Date: Mon, 18 Sep 2023 21:40:09 -0700 Subject: [PATCH] nz = 15 line in fitz.py must have been deleted by accident on the abhijeet_per_camera branch and this broke a couple unit tests. Restored. --- py/redrock/fitz.py | 1 + 1 file changed, 1 insertion(+) diff --git a/py/redrock/fitz.py b/py/redrock/fitz.py index 98b89ea5..9354bcbd 100644 --- a/py/redrock/fitz.py +++ b/py/redrock/fitz.py @@ -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: