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
SWIFT
SWIFTsim
Commits
880fa3c6
Commit
880fa3c6
authored
Mar 01, 2018
by
Matthieu Schaller
Browse files
Only declare the size of the GSL workspace if the library is detected.
parent
67adffa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cosmology.c
View file @
880fa3c6
...
...
@@ -41,8 +41,10 @@
/*! Number of values stored in the cosmological interpolation tables */
const
int
cosmology_table_length
=
10000
;
#ifdef HAVE_LIBGSL
/*! Size of the GSL workspace */
const
size_t
GSL_workspace_size
=
100000
;
#endif
/**
* @brief Returns the interpolated value from a table.
...
...
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