Skip to content

Commit

Permalink
remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jemorrison committed Jul 21, 2021
1 parent 0de907f commit b173565
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jwst/cube_build/src/cube_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ int alloc_flux_arrays(int nelem, double **fluxv, double **weightv, double **varv

const char *msg = "Couldn't allocate memory for output arrays.";

printf(" going to allocate memory \n");
// flux:
if (!(*fluxv = (double*)calloc(nelem, sizeof(double)))) {
PyErr_SetString(PyExc_MemoryError, msg);
Expand Down Expand Up @@ -48,7 +47,6 @@ int alloc_flux_arrays(int nelem, double **fluxv, double **weightv, double **varv
return 0;

failed_mem_alloc:
printf("Problem allocating \n");
free(*fluxv);
free(*weightv);
free(*varv);
Expand Down

0 comments on commit b173565

Please sign in to comment.