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

Smoothing #8

Merged
merged 4 commits into from
Feb 11, 2019
Merged

Smoothing #8

merged 4 commits into from
Feb 11, 2019

Conversation

MrUrq
Copy link
Contributor

@MrUrq MrUrq commented Feb 9, 2019

Smoothing added as optional input. Interface which is dispatching on keyword argument type, as previously discussed, was not possible due to method being overwritten when working with keywords.
Ref: #9498, discourse

julia> f(;x::T) where {T<:Real}= println("Real")
f (generic function with 1 method)

julia> f(;x::Bool) = println("Bool")
f (generic function with 1 method)

@eljungsk eljungsk merged commit 346930b into eljungsk:master Feb 11, 2019
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.

2 participants