Skip to content

Commit

Permalink
more explicity typing
Browse files Browse the repository at this point in the history
  • Loading branch information
jw-lin committed Oct 17, 2023
1 parent ed25ce9 commit 1a2847b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions AOloopControl_IOtools/pl_column_sum.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ static errno_t compute_function()
INSERT_STD_PROCINFO_COMPUTEFUNC_START
{
// JON YOU GET TO WORK HERE
int i;
uint32_t i;
for (i = 0; i < sizeoutx; i++){
float tot = 0.0;
int j;
uint32_t j;
for (j = 0; j < sizeouty; j++) {
tot += wfsin.im->array.F[i*sizeouty+j];
uint64_t pixindex = i * sizeouty + j;
tot += wfsin.im->array.F[pixindex];
}
wfsout.im->array.F[i] = tot;
}
Expand Down

0 comments on commit 1a2847b

Please sign in to comment.