Skip to content

Commit

Permalink
Remove unnecessary print statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Aug 9, 2024
1 parent 1decda8 commit 3b6dfc9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cleedpy/cleed/src/linpphasend.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ int inp_phase_nd( char * filename, real * dr, int t_type, struct phs_str **p_phs
real eng_scale;
real faux;

printf ("Inside inp_phase_nd\n");

if((*i_phase) > 0)
{
/* Compare filename, dr, and t_type with previous phaseshifts. Return the
Expand All @@ -78,13 +76,11 @@ int inp_phase_nd( char * filename, real * dr, int t_type, struct phs_str **p_phs
return(i);
break;
}

(*i_phase) ++;
*p_phs_shifts = (struct phs_str *)realloc(*p_phs_shifts, ((*i_phase) + 1) * sizeof(struct phs_str) );
}
else
{

(*i_phase) ++;
*p_phs_shifts = (struct phs_str *) malloc( 2 * sizeof(struct phs_str) );
}
Expand Down

0 comments on commit 3b6dfc9

Please sign in to comment.