diff --git a/src/KSPACE/fft3d.cpp b/src/KSPACE/fft3d.cpp index 88e25ca3a8..638dd46f8e 100644 --- a/src/KSPACE/fft3d.cpp +++ b/src/KSPACE/fft3d.cpp @@ -840,7 +840,6 @@ void bifactor(int n, int *factor1, int *factor2) { int n1,n2,facmax; - //facmax = static_cast (sqrt((double) n)); facmax = static_cast (sqrt(n)); for (n1 = facmax; n1 > 0; n1--) { diff --git a/src/REAX/fix_reax_bonds.cpp b/src/REAX/fix_reax_bonds.cpp index 1798ffc32e..66ebb41463 100644 --- a/src/REAX/fix_reax_bonds.cpp +++ b/src/REAX/fix_reax_bonds.cpp @@ -122,7 +122,7 @@ void FixReaxBonds::OutputReaxBonds(bigint ntimestep, FILE *fp) if (me == 0) { char fstr[32]; - sprintf(fstr,"# Timestep %d \n",BIGINT_FORMAT); + sprintf(fstr,"# Timestep %s \n",BIGINT_FORMAT); fprintf(fp,fstr,ntimestep); fprintf(fp,"# \n"); fprintf(fp,"# Number of particles %d \n",nparticles_tot);