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

Compat fixes for v0.5 and v0.6 #154

Merged
merged 2 commits into from
Apr 29, 2017
Merged

Compat fixes for v0.5 and v0.6 #154

merged 2 commits into from
Apr 29, 2017

Conversation

r9y9
Copy link
Contributor

@r9y9 r9y9 commented Apr 11, 2017

With this changes, it should be no warnings compiling DSP.jl on v0.5 and v0.6 (master). Some notes:

  • I had to set upper bound version for Polynomials to pass all tests. With recent Polynomials (> v0.1.2) I had test failures in filter conversions. I would appreciate some experts can take a look at this in a separate issue/PR.
  • Since new syntax for inner constructors (e.g. A{T1,T2}(a, b) where {T1,T2}) cannot be parsed with v0.5, I had to use deprecated call overloading syntax (::Type{A{T1,T2}}{T1,T2}(a,b) instead (ref: Inner constructor JuliaLang/Compat.jl#332). This should be updated once we can drop v0.5.

test/util.jl Outdated
@@ -1,4 +1,5 @@
using DSP, Base.Test, Compat
using SpecialFunctions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besseli has used in the function kaiser at src/windows.jl,
so it could be import SpecialFunctions.besseli to the module Windows.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Fixed.

r9y9 added 2 commits April 12, 2017 01:06
should be no warnings in compling DSP
hadn't look deeper yet but it seems like `roots` breaks
@r9y9
Copy link
Contributor Author

r9y9 commented Apr 29, 2017

bump

@gummif gummif merged commit 2c4c593 into JuliaDSP:master Apr 29, 2017
@gummif
Copy link
Member

gummif commented Apr 29, 2017

Thanks

@r9y9 r9y9 deleted the 0.6-fixes branch April 30, 2017 03:58
@r9y9
Copy link
Contributor Author

r9y9 commented May 9, 2017

Could anybody tag a new release? Tests failing with v0.5 and v0.6 (http://pkg.julialang.org/?pkg=DSP#DSP).

@gummif
Copy link
Member

gummif commented May 11, 2017

I'm working on it. It looks like the test failures you experienced were caused by 0.0 being not identical to -0.0 in our code, but it appears to work fine on Polynomials master branch. A new version should be published soon.

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

Successfully merging this pull request may close these issues.

3 participants