Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sten Delos
Gadget4
Commits
9315b1db
Commit
9315b1db
authored
Dec 03, 2020
by
Volker Springel
Browse files
call print_spec() before freeing power spectrum table
parent
ce4198f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ngenic/ngenic.cc
View file @
9315b1db
...
...
@@ -303,14 +303,14 @@ void ngenic::ngenic_displace_particles(void)
FFTW
(
destroy_plan
)(
myplan
.
backward_plan_ydir
);
FFTW
(
destroy_plan
)(
myplan
.
backward_plan_xdir
);
print_spec
();
if
(
All
.
PowerSpectrumType
==
2
)
free_power_table
();
gsl_rng_free
(
rnd_generator
);
gsl_rng_free
(
rnd_generator_conjugate
);
print_spec
();
TIMER_STOP
(
CPU_NGENIC
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment