Commit 9315b1db authored by Volker Springel's avatar Volker Springel
Browse files

call print_spec() before freeing power spectrum table

parent ce4198f3
...@@ -303,14 +303,14 @@ void ngenic::ngenic_displace_particles(void) ...@@ -303,14 +303,14 @@ void ngenic::ngenic_displace_particles(void)
FFTW(destroy_plan)(myplan.backward_plan_ydir); FFTW(destroy_plan)(myplan.backward_plan_ydir);
FFTW(destroy_plan)(myplan.backward_plan_xdir); FFTW(destroy_plan)(myplan.backward_plan_xdir);
print_spec();
if(All.PowerSpectrumType == 2) if(All.PowerSpectrumType == 2)
free_power_table(); free_power_table();
gsl_rng_free(rnd_generator); gsl_rng_free(rnd_generator);
gsl_rng_free(rnd_generator_conjugate); gsl_rng_free(rnd_generator_conjugate);
print_spec();
TIMER_STOP(CPU_NGENIC); TIMER_STOP(CPU_NGENIC);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment