-
Notifications
You must be signed in to change notification settings - Fork 113
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
Pkg.test("DSP") Fails #30
Comments
@simonster, this looks similar to something that happened before when comparing the difference between polynomial coefficients, could you check it? |
I can't reproduce this on my system. I suspect it has something to do with 32 vs. 64-bit, but I don't have a 32-bit system to test on. |
Tests also pass for me on Julia compiled for OS X 64 bits. I'll try setting up a 32 bit Linux VM later to take a look into it. EDIT: tested under Ubuntu 14.04 32 bits and confirmed the regression. Error report is a bit confuse but if we suppose that "anonymous" actually refers to filterdesign.jl, the error happened in the filter conversion tests. |
Not sure if this is the cause, but JuliaMath/openlibm#57 suggests that |
I'll try to recompile Julia using the system's libm in my Ubuntu VM later today to check this out, thanks! |
I'm afraid that's not the case; results are the same both for openlibm and system's libm in Ubuntu 14.04 32 bits. |
Investigating this issue further, I have found that the problem lies in a call to This is the kind of problem that's reported in this discussion: https://groups.google.com/d/msg/julia-users/Jy8v6qCXdkY/-2sCpcYo33sJ (however, in our case we have a much simpler polynomial!). I tested Polynomials.jl and it gives the right results for our test case. Since it seems Polynomials will become the "official" package, we should update our code to use it, as it is already in METADATA. We'll have to invert the order of the coefficients in all calls, but that's not a big deal. |
Thanks for figuring this out. I've opened a (WIP) PR to switch to Polynomials in #48. |
The text was updated successfully, but these errors were encountered: