Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
65c8cbe2
Commit
65c8cbe2
authored
Mar 15, 2018
by
Matthieu Schaller
Browse files
Do not print the time spent initialising the cosmology tables.
parent
259be318
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cosmology.c
View file @
65c8cbe2
...
...
@@ -290,8 +290,6 @@ double time_integrand(double a, void *param) {
*/
void
cosmology_init_tables
(
struct
cosmology
*
c
)
{
const
ticks
tic
=
getticks
();
#ifdef HAVE_LIBGSL
/* Retrieve some constants */
...
...
@@ -379,9 +377,6 @@ void cosmology_init_tables(struct cosmology *c) {
error
(
"Code not compiled with GSL. Can't compute cosmology integrals."
);
#endif
message
(
"took %.3f %s."
,
clocks_from_ticks
(
getticks
()
-
tic
),
clocks_getunit
());
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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