Closed mtazzari closed 6 years ago
Now tested on GPU, all tests pass.
TODO: Add a warning if dR>dxy/5. It is recommended to have at least 10 points in the central pixel.
@fredRos where should we add this warning?
It should appear when using *Profile()
funcs and sweep
.
I get Travis errors when compiling the cpp. Is it possible you solved this in the other PRs?
The following tests FAILED:
2 - cpp_compile_test (SEGFAULT)
Fixed in 102a30dff2385405ae97c7937adf2dc8188f1e51 It was caused by random numbers used in the cpp test. Now I use some sensible numbers for nx, dR, Rmin and it works fine.
TODO: Add a warning if dR>dxy/5. It is recommended to have at least 10 points in the central pixel. @fredRos where should we add this warning? It should appear when using *Profile() funcs and sweep
What do you mean by points? Interpolation points? You can do that check in the code but can you also just check dR>dxy/5
? Since you have these numbers at the C++ level, let's do the check and the warning (to std::cerr
there. Always prefer to have these checks at the lowest level at which you have the necessary information
The tests pass on the GPU. Please rebase onto master, fix any conflicts and force push again to this branch
If I use the web editor to solve conflicts is it ok? Is the same as rebasing?
I solved all the conflicts.
I don't understand why github says that This branch cannot be rebased due to conflicts
@fredRos does this mean that I have to merge the branch via command line, e.g. with:
git checkout master
git merge --no-ff central_pixel_bugfix
git push origin master
?
All tests pass on GPU as well.
A clarification: I understand that if a PR has conflicts to be fixed via command line, then Rebase and merge
option will not be possible, but a merge commit is necessary.
Is this correct?
A clarification: I understand that if a PR has conflicts to be fixed via command line, then Rebase and merge option will not be possible, but a merge commit is necessary. Is this correct?
No, you can always avoid merge commits with this strategy:
git checkout central_pixel_bugfix # assuming this branch is up to date
git rebase origin/master
git push -f origin
All CPU/GPU tests pass. Ready to be merged.
Still to be tested on GPU