Skip to content

Commit

Permalink
Fix deprecation of quadgk to allow kwargs (#19783)
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan authored and tkelman committed Dec 31, 2016
1 parent 4280d3c commit ce743d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ end
@deprecate xor(A::AbstractArray, B::AbstractArray) xor.(A, B)

# QuadGK moved to a package (#19741)
function quadgk(args...)
function quadgk(args...; kwargs...)
error(string(quadgk, args, " has been moved to the package QuadGK.jl.\n",
"Run Pkg.add(\"QuadGK\") to install QuadGK on Julia v0.6 and later, and then run `using QuadGK`."))
end
Expand Down

0 comments on commit ce743d2

Please sign in to comment.