From 8316b536a6c4929004b8926b74c836aa906a24c9 Mon Sep 17 00:00:00 2001 From: Alex Arslan Date: Fri, 30 Dec 2016 12:25:12 -0800 Subject: [PATCH] Fix deprecation of quadgk to allow kwargs --- base/deprecated.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/deprecated.jl b/base/deprecated.jl index 661c16353b0dc..cda081fa60368 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -1341,7 +1341,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