-
Notifications
You must be signed in to change notification settings - Fork 233
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
Unit test test_gsl.praat fails randomly #505
Comments
I have to upgrade gsl first. Maybe newer version don't give this error any more. |
I tested a version of Praat compiled against the external GSL library version 2.3 and the problem persists. The discrepancy between the results of the GSL-based function My guess is that the computations behind |
By the way, you might consider a mechanism for allowing the user to compile Praat against the external GSL library. For now, the only way to do it is by patching the source files. FYI, this is the patch that I applied in order to compile Praat as I described in the previous comment. |
I modified test_gsl.praat. It doesn't fail anymore. |
The unit test for funtion incompleteGammaP in file dwtest/test_gsl.praat fails randomly:
The patch fix-gsl-unit-test.txt fixes the problem. It essentially increases the tolerance by 4 orders of magnitude. It is pretty puzzling why the analytical expression for the incomplete Gamma function gives not precisely the same values of the function in the GSL library. Unfortunately, I do not time for investigating this issue further now.
The text was updated successfully, but these errors were encountered: