-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fix asymptotics of Poisson solver for small r (final) #67
Conversation
It's failing because of the wildcard imports in the test files. I thought we had suppressed them? |
I had only fixed them where we had errors. This PR seems to cause trouble with all of them. I'll fix. |
d2d581e
to
f8f1caf
Compare
I've rebased to fix merge conflicts. |
I'm going to rebase this again to resolve merge conflicts. Hang on for a sec... |
Also a few fixes are included to avoid division by zero in IntGrid.eval_decomposition. This commit includes tests for the fixed bugs.
- Improved output - Tuned settings
Most fixes are trivial except for one. Cpplint suggests to use int64_t instead of long, which is a good idea. However, that implies that we compile our C++ code with -std=c++11. That all works fine but it is a non-trivial change.
Parsing of the warnings log was not always working.
This is needed for C++11 support and it is not a bad idea to use a more recent compiler anyway.
This is the first release with complete C++11 support. (In principle, 4.8.1 was meant to be that but it was apparently still missing regex.)
f8f1caf
to
76acd46
Compare
Looks good! On another note, I should really figure out a better way to review large PRs. It's too easy to start to skim when looking at something big. |
This is the first bug fix that involves changes in the C++ code and I ran into a lot of small issues with the C++ trapdoor scripts, which are also fixed in the commits below.
Summary:
cubic_spline.*
(I could have done just the new ones but I wanted to do more for the sake of testing the trapdoor scripts.)int64_t
instead oflong
(just in one place). That is indeed clearer but requires us to switch to c++11, which just worked fine on my computer.doxygen_warnings.log
cubuc_spline.h
(Again, I could have done just part of the file but I wanted to do all of it to test the trapdoor_doxygen.py script.)The more-than-necessary changes in
cubic_spline.*
should not interfere with branches to be merged in 2.1.0.