Skip to content

Commit

Permalink
Changing initialization due to regression testing build failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmacdonald-stsci committed Mar 15, 2024
1 parent a1da0bd commit 0ac32ed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/stcal/ramp_fitting/src/slope_fitter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; k<len; ++k) {
if (pr->row==rows[k] && pr->col==cols[k]) {
return 1;
Expand Down

0 comments on commit 0ac32ed

Please sign in to comment.