-
Notifications
You must be signed in to change notification settings - Fork 193
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
astrometry-net issue: Scale range -inf to -inf is invalid #241
Comments
That's weird! Are you sure it is related to the wcslib version bump? Could you please add a "-v" to the solve-field run and send that log? And can you attach the apod4.axy file. |
Ha ha right I just tested again, it also fails with wcslib 7.6, so this is unrelated. It's just that we built Here is the full log:
Here is the file: https://www.icloud.com/iclouddrive/0OwRxmC4u_3iYGOpYj-eUMM4w#apod4 |
Okay, I don't understand why it's doing that. We're fetching a value from the header that isn't there, so it's supposed to return -inf, and then we handle the -inf. If there's any way you can build with debug symbols and step through in gdb, that would be very helpful... make clean (etc...) Thanks! |
I was not able run I compared the So the bug seems to be sort of transient. I'm trying to go back into a state where I could reproduce the error locally ... |
I used
|
That's weird. Not a C expert though, so this might be expected / depend on the compiler? |
+inf == +inf is required by IEEE-754, according to this |
Ohhhhhh, but do we set the "-ffinite-math-only" flag when compiling?? If so, can you please try doing a |
I gave you a wrong information above. I checked the |
Doh that's me using But I could reproduce the issue with a minimal example:
The last one is the one which does not work, and this is exactly what we do: we remove your Then I tried a few more things:
So basically as soon as you pass an |
Thanks for this testing! Let me cook up a fix. There's no real reason we need to use -inf as a flag value here. (But I also want to find other places where we might be doing something similar!) |
fixed in c26551f |
Thanks :) |
Hello. I'm a maintainer of Homebrew, a package manager for macOS and Linux.
We are trying to update wcslib from 7.6 to 7.7.
We have a small smoke test to check if
astrometry-net
still works:99.cfg contains:
The last step fails:
Interestingly, this only fails on macOS 11 (ARM and Intel), but passes on macOS 12, and on Linux (ubuntu 16.04).
Could you help us debug this? I can reproduce this locally so I might be able to test things out if you need further feedback.
For reference: Homebrew/homebrew-core#82101
The text was updated successfully, but these errors were encountered: