-
Notifications
You must be signed in to change notification settings - Fork 5
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
bug in gsw_ipv_vs_fnsquared_ratio()
in C library
#9
Comments
I can confirm that this segfaults even if run from the old
|
Let's wait to see what the higher ups say, but my vote is that if the fix is obvious and easy we do it for now, and document the change. It's not like we're dependent on the source from somewhere else, since we're directly including a particular snapshot in the package. I know we don't want to just create another version of the library, but I think that outweighs the wait that would come from waiting for upstream changes to the C library (which in all likelihood is going to change anyway). |
Hi Everyone, I'm the developer/maintainer of the C library and am in the process of putting Frank
Scripps Institution of Oceanography | Nimitz Marine Facility On 12/30/14, 5:52 PM, Clark Richards wrote:
|
Hi Frank. This is indeed the fix that will go into GSW-R (probably tomorrow morning). The fix looks pretty simple. It's hard to know who is in charge of the C library. I had thought @PaulMBarker was doing that. Is it you? |
Hi Dan, Yes, it's me. We couldn't deal with the Fortran (sorry Paul). Frank On 12/30/14, 6:17 PM, Dan Kelley wrote:
|
I've updated the library (C and h files) within GSW-R. @fdelahoyde in case you want to see the differences in the C library, issue the following two commands in an OS shell:
you can also see all the differences (including in my R code) with
in case that's of interest. Finally, if you don't like git commands, you can see colour-coded changes in the github webpage |
@richardsc Although this bug has been fixed, we might want to leave the issue open a while in case others don't realize they can read and comment upon closed issues. --Dan. |
Closing, in light of previous "2-day wait to close" argument. |
There is another bug that needs fixing in this code that is how dsa and dct are calculated. Frank alerted me to it. Paul. Here is the latest matlab lines:
Closing, in light of previous "2-day wait to close" argument. — |
This is fixed in the new version of the C library, incorporated into gsw today. |
Snipped from a developer email:
The text was updated successfully, but these errors were encountered: