Skip to content

Commit e661a20

Browse files
committed
Make PDMats a dependency on Julia < 1.9
1 parent d5dada1 commit e661a20

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "1.8.0"
44

55
[deps]
66
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
7+
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
78
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
8-
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
99
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1010
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1111

@@ -25,7 +25,6 @@ Base64 = "1.6"
2525
LinearAlgebra = "1.6"
2626
PDMats = "0.11.17"
2727
Random = "1.6"
28-
Requires = "1"
2928
ReverseDiff = "1"
3029
SparseArrays = "1.6"
3130
StaticArrays = "1"

src/FillArrays.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -670,17 +670,10 @@ include("fillbroadcast.jl")
670670
include("trues.jl")
671671

672672
if !isdefined(Base, :get_extension)
673-
import Requires
673+
include("../ext/FillArraysPDMatsExt.jl")
674674
include("../ext/FillArraysSparseArraysExt.jl")
675675
include("../ext/FillArraysStatisticsExt.jl")
676676
end
677-
@static if !isdefined(Base, :get_extension)
678-
function __init__()
679-
Requires.@require PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150" begin
680-
include("../ext/FillArraysPDMatsExt.jl")
681-
end
682-
end
683-
end
684677

685678
##
686679
# print

0 commit comments

Comments
 (0)