@@ -1417,6 +1417,56 @@ function LibGit2.set_remote_url(path::AbstractString, url::AbstractString; remot
14171417 LibGit2. set_remote_url (path, remote, url)
14181418end
14191419
1420+ # PR #21956
1421+ # This mimics the structure as it was defined in Base to avoid directly breaking code
1422+ # that assumes this structure
1423+ module DFT
1424+ for f in [:bfft , :bfft! , :brfft , :dct , :dct! , :fft , :fft! , :fftshift , :idct , :idct! ,
1425+ :ifft , :ifft! , :ifftshift , :irfft , :plan_bfft , :plan_bfft! , :plan_brfft ,
1426+ :plan_dct , :plan_dct! , :plan_fft , :plan_fft! , :plan_idct , :plan_idct! ,
1427+ :plan_ifft , :plan_ifft! , :plan_irfft , :plan_rfft , :rfft ]
1428+ @eval begin
1429+ function $f (args... ; kwargs... )
1430+ error ($ f, " has been moved to the package FFTW.jl.\n " ,
1431+ " Run `Pkg.add(\" FFTW\" )` to install FFTW then run `using FFTW` " ,
1432+ " to load it." )
1433+ end
1434+ export $ f
1435+ end
1436+ end
1437+ module FFTW
1438+ for f in [:r2r , :r2r! , :plan_r2r , :plan_r2r! ]
1439+ @eval begin
1440+ function $f (args... ; kwargs... )
1441+ error ($ f, " has been moved to the package FFTW.jl.\n " ,
1442+ " Run `Pkg.add(\" FFTW\" )` to install FFTW then run `using FFTW` " ,
1443+ " to load it." )
1444+ end
1445+ export $ f
1446+ end
1447+ end
1448+ end
1449+ export FFTW
1450+ end
1451+ using . DFT
1452+ for f in names (DFT)
1453+ @eval export $ f
1454+ end
1455+ module DSP
1456+ for f in [:conv , :conv2 , :deconv , :filt , :filt! , :xcorr ]
1457+ @eval begin
1458+ function $f (args... ; kwargs... )
1459+ error ($ f, " has been moved to the package DSP.jl.\n " ,
1460+ " Run `Pkg.add(\" DSP\" )` to install DSP then run `using DSP` " ,
1461+ " to load it." )
1462+ end
1463+ export $ f
1464+ end
1465+ end
1466+ end
1467+ using . DSP
1468+ export conv, conv2, deconv, filt, filt!, xcorr
1469+
14201470# END 0.7 deprecations
14211471
14221472# BEGIN 1.0 deprecations
0 commit comments