-
Notifications
You must be signed in to change notification settings - Fork 63
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
Analytic Einasto and Hernquist normalization #956
Conversation
Pull Request Test Coverage Report for Build 2709235802
💛 - Coveralls |
Thanks a lot @hsinfan1996 . Can you check how much faster (or slower) it is to call the gamma functions than computing the normalisation numerically? |
|
OK, awesome, in that case feel free to remove all traces of the old functions in |
Coveralls is down. Could not submit results when the check for macos finished. |
Ignore coveralls. Coverage went down because you reduced the number of lines in the code, I bet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! It feels great to get rid of unnecessary C code!
Just one comment.
It seems coveralls is undergoing some maintenance. I'm sure it's irrelevant, but let's wait for tomorrow before merging (pressing the red merge button makes my brain scream a bit) |
Sure. I want it to pass all the checks too. I will re-run the jobs when Coveralls is stable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Some functions in
src/ccl_haloprofile.c
andpyccl/ccl_haloprofile.i
are not needed anymore, but I did not touch them.