From 0ac32edff1613e94ff28049b3341c002717d034f Mon Sep 17 00:00:00 2001 From: Ken MacDonald Date: Fri, 15 Mar 2024 14:38:00 -0400 Subject: [PATCH] Changing initialization due to regression testing build failures. --- src/stcal/ramp_fitting/src/slope_fitter.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/stcal/ramp_fitting/src/slope_fitter.c b/src/stcal/ramp_fitting/src/slope_fitter.c index 5be800e4f..c15f23d84 100644 --- a/src/stcal/ramp_fitting/src/slope_fitter.c +++ b/src/stcal/ramp_fitting/src/slope_fitter.c @@ -677,10 +677,13 @@ is_pix_in_list(struct pixel_ramp * pr) { // (1014, 422), const int len = 1; - npy_intp rows[len] = {1014}; - npy_intp cols[len] = {422}; + npy_intp rows[len]; + npy_intp cols[len]; int k; + rows[0] = 1014; + cols[0] = 422; + for (k=0; krow==rows[k] && pr->col==cols[k]) { return 1;