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

Precision issue in test_ #2636

Open
rlaboiss opened this issue May 13, 2024 · 0 comments
Open

Precision issue in test_ #2636

rlaboiss opened this issue May 13, 2024 · 0 comments

Comments

@rlaboiss
Copy link
Member

When the Debian package for praat is built on the supported architecture, there are building failures for some of them
(e.g. arm64). This is due to a failing assert in line 481 of file test_DataModeler.praat:

assert abs(.residualStdev - .residualStdevCertified) < 1e-14

Here are the results for each architecture:

architecture .residualStdev .residualStdev - .residualStdevCertified result
amd64 0.8847963961443793 6.328271e-15 ok
arm64 0.8847963961443831 1.010303e-14 failure
armel 0.8847963961443857 1.265654e-14 failure
armhf 0.8847963961443857 1.265654e-14 failure
i386 0.8847963961443793 6.328271e-15 ok
mip64sel 0.8847963961443793 6.328271e-15 ok
ppc64el 0.8847963961443831 1.010303e-14 failure
riscv64 0.8847963961443831 1.010303e-14 failure

I have no idea why three different values are obtained in this set of architectures. At any rate, for now, I am increasing the tolerance to 1e-13 in the Debian package of praat, in order to have it included in the next release of the distribution.

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

No branches or pull requests

1 participant