Skip to content
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

Revised algorithm to no longer be affected by floating point precision #17

Merged
merged 3 commits into from
Dec 3, 2012

Conversation

astrofrog
Copy link
Member

Given the floating point issues in #15 and #16, I tried to revise how the algorithm works for exact elliptical aperture photometry, in order to no longer be affected so much by floating point accuracy (e.g. 1e-17 vs 0, etc.). Let's see if this passes on Travis.

@astrofrog
Copy link
Member Author

I'm still seeing failures, but I've managed to reproduce the issue on a 32-bit linux VM, so will debug.

@astrofrog
Copy link
Member Author

Awesome, it looks like the bug has been fixed :-) I'll wait for the last few tests to run, then I'll merge.

astrofrog added a commit that referenced this pull request Dec 3, 2012
Revised algorithm to no longer be affected by floating point precision
@astrofrog astrofrog merged commit a0907eb into astropy:master Dec 3, 2012
This was referenced Dec 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant