Skip to content

Commit

Permalink
Fix improper FFTW function deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Jun 16, 2017
1 parent 00b9ea2 commit b1b4b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/deprecated.jl
Expand Up @@ -1445,8 +1445,8 @@ module DFT
pkg = endswith(String(f), "shift") ? "AbstractFFTs" : "FFTW"
@eval begin
function $f(args...; kwargs...)
error($f, " has been moved to the package $pkg.jl.\n",
"Run `Pkg.add(\"$pkg\")` to install $pkg then run `using $pkg` ",
error($f, " has been moved to the package $($pkg).jl.\n",
"Run `Pkg.add(\"$($pkg)\")` to install $($pkg) then run `using $($pkg)` ",
"to load it.")
end
export $f
Expand Down

0 comments on commit b1b4b55

Please sign in to comment.