-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GSL’s QAG routine’s limit and key should be configurable through the module #68
Comments
I’ve investigated this module further, and it looks like it does not check whether the calls it makes to the GSL integration routine |
@marcpaterno which module are you looking at here? |
Oops; apologies for the poor issue writing! The module in question is |
I tried something more with sigma_cpp. I made a copy of the module files and change the subdivision limit and epsilon. Under this cosmology, 1E8 subdivision limit, and 1e-6 epsilon. gsl still complains this gsl: qag.c:257: ERROR: maximum number of subdivisions reached Cosmology: |
I changed the integration from 15 points Gauss-Kronod to 21 points, and it works fine! |
The current use of QAG has both the
limit
andkey
values hard-wired. This does not allow users to tune these parameters when needed for dealing with harder integrals.It would be best for these parameters to be settable by the user, through the module configuration. The current values can be left as defaults.
The text was updated successfully, but these errors were encountered: